Class RayTraceUtils

java.lang.Object
me.desht.pneumaticcraft.common.util.RayTraceUtils

public class RayTraceUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.HitResult
    getEntityLookedObject(net.minecraft.world.entity.LivingEntity entity, double maxDistance)
     
    static net.minecraft.world.phys.HitResult
    getMouseOverServer(net.minecraft.world.entity.LivingEntity lookingEntity, double range)
     
    static org.apache.commons.lang3.tuple.Pair<net.minecraft.world.phys.Vec3,net.minecraft.world.phys.Vec3>
    getStartAndEndLookVec(net.minecraft.world.entity.LivingEntity entity, double maxDistance)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RayTraceUtils

      public RayTraceUtils()
  • Method Details

    • getEntityLookedObject

      public static net.minecraft.world.phys.HitResult getEntityLookedObject(net.minecraft.world.entity.LivingEntity entity, double maxDistance)
    • getStartAndEndLookVec

      public static org.apache.commons.lang3.tuple.Pair<net.minecraft.world.phys.Vec3,net.minecraft.world.phys.Vec3> getStartAndEndLookVec(net.minecraft.world.entity.LivingEntity entity, double maxDistance)
    • getMouseOverServer

      public static net.minecraft.world.phys.HitResult getMouseOverServer(net.minecraft.world.entity.LivingEntity lookingEntity, double range)