public class EntityRayTraceResult extends RayTraceResult
RayTraceResult.Type
Modifier and Type | Field and Description |
---|---|
private Entity |
entity |
hitInfo, hitResult, subHit
Constructor and Description |
---|
EntityRayTraceResult(Entity entityIn) |
EntityRayTraceResult(Entity entityIn,
Vec3d hitVec) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |
RayTraceResult.Type |
getType() |
getHitVec
private final Entity entity
public EntityRayTraceResult(Entity entityIn)
public Entity getEntity()
public RayTraceResult.Type getType()
getType
in class RayTraceResult