|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.renderer.ActiveRenderInfo
public class ActiveRenderInfo
Field Summary | |
---|---|
static float |
objectX
The calculated view object X coordinate |
static float |
objectY
The calculated view object Y coordinate |
static float |
objectZ
The calculated view object Z coordinate |
static float |
rotationX
The X component of the entity's yaw rotation |
static float |
rotationXY
The Y component (scaled along the X axis) of the entity's pitch rotation |
static float |
rotationXZ
The combined X and Z components of the entity's pitch rotation |
static float |
rotationYZ
The Y component (scaled along the Z axis) of the entity's pitch rotation |
static float |
rotationZ
The Z component of the entity's yaw rotation |
Constructor Summary | |
---|---|
ActiveRenderInfo()
|
Method Summary | |
---|---|
static int |
getBlockIdAtEntityViewpoint(World par0World,
EntityLiving par1EntityLiving,
float par2)
Returns the block ID at the current camera location (either air or fluid), taking into account the height of fluid blocks |
static Vec3 |
projectViewFromEntity(EntityLiving par0EntityLiving,
double par1)
Returns a vector representing the projection along the given entity's view for the given distance |
static void |
updateRenderInfo(EntityPlayer par0EntityPlayer,
boolean par1)
Updates the current render info and camera location based on entity look angles and 1st/3rd person view mode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static float objectX
public static float objectY
public static float objectZ
public static float rotationX
public static float rotationXZ
public static float rotationZ
public static float rotationYZ
public static float rotationXY
Constructor Detail |
---|
public ActiveRenderInfo()
Method Detail |
---|
public static void updateRenderInfo(EntityPlayer par0EntityPlayer, boolean par1)
public static Vec3 projectViewFromEntity(EntityLiving par0EntityLiving, double par1)
public static int getBlockIdAtEntityViewpoint(World par0World, EntityLiving par1EntityLiving, float par2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |