public class EntityHitResult extends HitResult
HitResult.Type
Constructor and Description |
---|
EntityHitResult(Entity entity) |
EntityHitResult(Entity entity,
Vec3d pos) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |
HitResult.Type |
getType() |
getPos, squaredDistanceTo
private final Entity entity
public EntityHitResult(Entity entity)
public Entity getEntity()
public HitResult.Type getType()