Class RayTraceUtils
java.lang.Object
me.desht.pneumaticcraft.common.util.RayTraceUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.HitResultgetEntityLookedObject(net.minecraft.world.entity.LivingEntity entity, double maxDistance) static net.minecraft.world.phys.HitResultgetMouseOverServer(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)
-
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)
-