public class ActiveRenderInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.nio.FloatBuffer |
MODELVIEW |
private static java.nio.FloatBuffer |
OBJECTCOORDS |
private static Vec3d |
position |
private static java.nio.FloatBuffer |
PROJECTION |
private static float |
rotationX |
private static float |
rotationXY |
private static float |
rotationXZ |
private static float |
rotationYZ |
private static float |
rotationZ |
private static java.nio.IntBuffer |
VIEWPORT |
Constructor and Description |
---|
ActiveRenderInfo() |
Modifier and Type | Method and Description |
---|---|
static IBlockState |
getBlockStateAtEntityViewpoint(World worldIn,
Entity entityIn,
float p_186703_2_) |
static Vec3d |
getCameraPosition()
Vector from render view entity position (corrected for partialTickTime) to the middle of screen
|
static float |
getRotationX() |
static float |
getRotationXY() |
static float |
getRotationXZ() |
static float |
getRotationYZ() |
static float |
getRotationZ() |
static Vec3d |
projectViewFromEntity(Entity entityIn,
double p_178806_1_) |
static void |
updateRenderInfo(Entity entityplayerIn,
boolean p_74583_1_) |
static void |
updateRenderInfo(EntityPlayer entityplayerIn,
boolean p_74583_1_) |
private static final java.nio.IntBuffer VIEWPORT
private static final java.nio.FloatBuffer MODELVIEW
private static final java.nio.FloatBuffer PROJECTION
private static final java.nio.FloatBuffer OBJECTCOORDS
private static Vec3d position
private static float rotationX
private static float rotationXZ
private static float rotationZ
private static float rotationYZ
private static float rotationXY
public static void updateRenderInfo(EntityPlayer entityplayerIn, boolean p_74583_1_)
public static void updateRenderInfo(Entity entityplayerIn, boolean p_74583_1_)
public static Vec3d projectViewFromEntity(Entity entityIn, double p_178806_1_)
public static IBlockState getBlockStateAtEntityViewpoint(World worldIn, Entity entityIn, float p_186703_2_)
public static float getRotationX()
public static float getRotationXZ()
public static float getRotationZ()
public static float getRotationYZ()
public static float getRotationXY()
public static Vec3d getCameraPosition()