public abstract class HitResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HitResult.Type |
Modifier | Constructor and Description |
---|---|
protected |
HitResult(Vec3d pos) |
Modifier and Type | Method and Description |
---|---|
Vec3d |
getPos() |
abstract HitResult.Type |
getType() |
double |
squaredDistanceTo(Entity entity) |
protected final Vec3d pos
protected HitResult(Vec3d pos)
public double squaredDistanceTo(Entity entity)
public abstract HitResult.Type getType()
public Vec3d getPos()