Package net.minecraft.util.math
Class EntityRayTraceResult
- java.lang.Object
-
- net.minecraft.util.math.RayTraceResult
-
- net.minecraft.util.math.EntityRayTraceResult
-
public class EntityRayTraceResult extends RayTraceResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.math.RayTraceResult
RayTraceResult.Type
-
-
Constructor Summary
Constructors Constructor Description EntityRayTraceResult(Entity p_i51184_1_)
EntityRayTraceResult(Entity p_i51185_1_, Vector3d p_i51185_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entity
getEntity()
RayTraceResult.Type
getType()
-
Methods inherited from class net.minecraft.util.math.RayTraceResult
distanceTo, getLocation
-
-
-
-
Field Detail
-
entity
private final Entity entity
-
-
Method Detail
-
getEntity
public Entity getEntity()
-
getType
public RayTraceResult.Type getType()
- Specified by:
getType
in classRayTraceResult
-
-