| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.util.MovingObjectPosition
public class MovingObjectPosition
| Field Summary | |
|---|---|
 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  | 
 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 Summary | |
|---|---|
MovingObjectPosition(Entity par1Entity)
 | 
|
MovingObjectPosition(int par1,
                                         int par2,
                                         int par3,
                                         int par4,
                                         Vec3 par5Vec3)
 | 
|
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public EnumMovingObjectType typeOfHit
public int blockX
public int blockY
public int blockZ
public int sideHit
public Vec3 hitVec
public Entity entityHit
public int subHit
| Constructor Detail | 
|---|
public MovingObjectPosition(int par1,
                            int par2,
                            int par3,
                            int par4,
                            Vec3 par5Vec3)
public MovingObjectPosition(Entity par1Entity)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||