public class ActiveRenderInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ActiveRenderInfo() |
| Modifier and Type | Method and Description |
|---|---|
static Block |
getBlockAtEntityViewpoint(World p_151460_0_,
EntityLivingBase p_151460_1_,
float p_151460_2_) |
static Vec3 |
projectViewFromEntity(EntityLivingBase p_74585_0_,
double p_74585_1_)
Returns a vector representing the projection along the given entity's view for the given distance
|
static void |
updateRenderInfo(EntityPlayer p_74583_0_,
boolean p_74583_1_)
Updates the current render info and camera location based on entity look angles and 1st/3rd person view mode
|
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
public static void updateRenderInfo(EntityPlayer p_74583_0_, boolean p_74583_1_)
public static Vec3 projectViewFromEntity(EntityLivingBase p_74585_0_, double p_74585_1_)
public static Block getBlockAtEntityViewpoint(World p_151460_0_, EntityLivingBase p_151460_1_, float p_151460_2_)