net.minecraft.util.MovingObjectPosition.MovingObjectPosition |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
Vec3 |
par5Vec3 |
|
) |
| |
net.minecraft.util.MovingObjectPosition.MovingObjectPosition |
( |
Entity |
par1Entity) | |
|
int net.minecraft.util.MovingObjectPosition.blockX |
x coordinate of the block ray traced against
int net.minecraft.util.MovingObjectPosition.blockY |
y coordinate of the block ray traced against
int net.minecraft.util.MovingObjectPosition.blockZ |
z coordinate of the block ray traced against
Entity net.minecraft.util.MovingObjectPosition.entityHit |
Object net.minecraft.util.MovingObjectPosition.hitInfo = null |
Used to add extra hit info
Vec3 net.minecraft.util.MovingObjectPosition.hitVec |
The vector position of the hit
int net.minecraft.util.MovingObjectPosition.sideHit |
Which side was hit. If its -1 then it went the full length of the ray trace. Bottom = 0, Top = 1, East = 2, West = 3, North = 4, South = 5.
int net.minecraft.util.MovingObjectPosition.subHit = -1 |
Used to determine what sub-segment is hit
What type of ray trace hit was this? 0 = block, 1 = entity
The documentation for this class was generated from the following file: