YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.ActiveRenderInfo Class Reference

Static Public Member Functions

static void updateRenderInfo (EntityPlayer par0EntityPlayer, boolean par1)
 
static Vec3 projectViewFromEntity (EntityLiving par0EntityLiving, double par1)
 
static int getBlockIdAtEntityViewpoint (World par0World, EntityLiving par1EntityLiving, float par2)
 

Static Public Attributes

static float objectX = 0.0F
 
static float objectY = 0.0F
 
static float objectZ = 0.0F
 
static float rotationX
 
static float rotationXZ
 
static float rotationZ
 
static float rotationYZ
 
static float rotationXY
 

Member Function Documentation

static int net.minecraft.client.renderer.ActiveRenderInfo.getBlockIdAtEntityViewpoint ( World  par0World,
EntityLiving  par1EntityLiving,
float  par2 
)
static

Returns the block ID at the current camera location (either air or fluid), taking into account the height of fluid blocks

static Vec3 net.minecraft.client.renderer.ActiveRenderInfo.projectViewFromEntity ( EntityLiving  par0EntityLiving,
double  par1 
)
static

Returns a vector representing the projection along the given entity's view for the given distance

static void net.minecraft.client.renderer.ActiveRenderInfo.updateRenderInfo ( EntityPlayer  par0EntityPlayer,
boolean  par1 
)
static

Updates the current render info and camera location based on entity look angles and 1st/3rd person view mode

Member Data Documentation

float net.minecraft.client.renderer.ActiveRenderInfo.objectX = 0.0F
static

The calculated view object X coordinate

float net.minecraft.client.renderer.ActiveRenderInfo.objectY = 0.0F
static

The calculated view object Y coordinate

float net.minecraft.client.renderer.ActiveRenderInfo.objectZ = 0.0F
static

The calculated view object Z coordinate

float net.minecraft.client.renderer.ActiveRenderInfo.rotationX
static

The X component of the entity's yaw rotation

float net.minecraft.client.renderer.ActiveRenderInfo.rotationXY
static

The Y component (scaled along the X axis) of the entity's pitch rotation

float net.minecraft.client.renderer.ActiveRenderInfo.rotationXZ
static

The combined X and Z components of the entity's pitch rotation

float net.minecraft.client.renderer.ActiveRenderInfo.rotationYZ
static

The Y component (scaled along the Z axis) of the entity's pitch rotation

float net.minecraft.client.renderer.ActiveRenderInfo.rotationZ
static

The Z component of the entity's yaw rotation


The documentation for this class was generated from the following file: