public class MovingObjectPosition extends Object
Modifier and Type | Field and Description |
---|---|
int |
blockX
x coordinate of the block ray traced against
|
int |
blockY
y coordinate of the block ray traced against
|
int |
blockZ
z coordinate of the block ray traced against
|
Entity |
entityHit
The hit entity
|
Object |
hitInfo
Used to add extra hit info
|
Vec3 |
hitVec
The vector position of the hit
|
int |
sideHit
Which side was hit.
|
int |
subHit
Used to determine what sub-segment is hit
|
EnumMovingObjectType |
typeOfHit
What type of ray trace hit was this? 0 = block, 1 = entity
|
Constructor and Description |
---|
MovingObjectPosition(Entity par1Entity) |
MovingObjectPosition(int par1,
int par2,
int par3,
int par4,
Vec3 par5Vec3) |
public EnumMovingObjectType typeOfHit
public int blockX
public int blockY
public int blockZ
public int sideHit
public Vec3 hitVec
public Entity entityHit
public int subHit
public Object hitInfo