Package net.minecraft.util.math
Class RayTraceResult
java.lang.Object
net.minecraft.util.math.RayTraceResult
- Direct Known Subclasses:
BlockRayTraceResult
,EntityRayTraceResult
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
distanceTo
(Entity p_237486_1_) abstract RayTraceResult.Type
getType()
-
Field Details
-
location
-
subHit
public int subHitUsed to determine what sub-segment is hit -
hitInfo
Used to add extra hit info
-
-
Constructor Details
-
RayTraceResult
-
-
Method Details
-
distanceTo
-
getType
-
getLocation
-