YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.entity.RenderPlayer Class Reference
Inheritance diagram for net.minecraft.client.renderer.entity.RenderPlayer:
net.minecraft.client.renderer.entity.RenderLiving net.minecraft.client.renderer.entity.Render

Public Member Functions

 RenderPlayer ()
 
void renderPlayer (EntityPlayer par1EntityPlayer, double par2, double par4, double par6, float par8, float par9)
 
void renderFirstPersonArm (EntityPlayer par1EntityPlayer)
 
void doRenderLiving (EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
 
void doRender (Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
 
- Public Member Functions inherited from net.minecraft.client.renderer.entity.RenderLiving
 RenderLiving (ModelBase par1ModelBase, float par2)
 
void setRenderPassModel (ModelBase par1ModelBase)
 
void doRenderLiving (EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
 
- Public Member Functions inherited from net.minecraft.client.renderer.entity.Render
void setRenderManager (RenderManager par1RenderManager)
 
void doRenderShadowAndFire (Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
 
FontRenderer getFontRendererFromRenderManager ()
 
void updateIcons (IconRegister par1IconRegister)
 

Static Public Attributes

static String[] armorFilenamePrefix = new String[] {"cloth", "chain", "iron", "diamond", "gold"}
 
static float NAME_TAG_RANGE = 64.0f
 
static float NAME_TAG_RANGE_SNEAK = 32.0f
 
- Static Public Attributes inherited from net.minecraft.client.renderer.entity.RenderLiving
static float NAME_TAG_RANGE = 64.0f
 
static float NAME_TAG_RANGE_SNEAK = 32.0f
 

Protected Member Functions

void func_98191_a (EntityPlayer par1EntityPlayer)
 
int setArmorModel (EntityPlayer par1EntityPlayer, int par2, float par3)
 
void func_82439_b (EntityPlayer par1EntityPlayer, int par2, float par3)
 
void renderSpecials (EntityPlayer par1EntityPlayer, float par2)
 
void renderPlayerScale (EntityPlayer par1EntityPlayer, float par2)
 
void func_96450_a (EntityPlayer par1EntityPlayer, double par2, double par4, double par6, String par8Str, float par9, double par10)
 
void renderPlayerSleep (EntityPlayer par1EntityPlayer, double par2, double par4, double par6)
 
void rotatePlayer (EntityPlayer par1EntityPlayer, float par2, float par3, float par4)
 
void func_96449_a (EntityLiving par1EntityLiving, double par2, double par4, double par6, String par8Str, float par9, double par10)
 
void preRenderCallback (EntityLiving par1EntityLiving, float par2)
 
void func_82408_c (EntityLiving par1EntityLiving, int par2, float par3)
 
int shouldRenderPass (EntityLiving par1EntityLiving, int par2, float par3)
 
void renderEquippedItems (EntityLiving par1EntityLiving, float par2)
 
void rotateCorpse (EntityLiving par1EntityLiving, float par2, float par3, float par4)
 
void renderLivingAt (EntityLiving par1EntityLiving, double par2, double par4, double par6)
 
void func_98190_a (EntityLiving par1EntityLiving)
 
- Protected Member Functions inherited from net.minecraft.client.renderer.entity.RenderLiving
void renderModel (EntityLiving par1EntityLiving, float par2, float par3, float par4, float par5, float par6, float par7)
 
void func_98190_a (EntityLiving par1EntityLiving)
 
void renderLivingAt (EntityLiving par1EntityLiving, double par2, double par4, double par6)
 
void rotateCorpse (EntityLiving par1EntityLiving, float par2, float par3, float par4)
 
float renderSwingProgress (EntityLiving par1EntityLiving, float par2)
 
float handleRotationFloat (EntityLiving par1EntityLiving, float par2)
 
void renderEquippedItems (EntityLiving par1EntityLiving, float par2)
 
void renderArrowsStuckInEntity (EntityLiving par1EntityLiving, float par2)
 
int inheritRenderPass (EntityLiving par1EntityLiving, int par2, float par3)
 
int shouldRenderPass (EntityLiving par1EntityLiving, int par2, float par3)
 
void func_82408_c (EntityLiving par1EntityLiving, int par2, float par3)
 
float getDeathMaxRotation (EntityLiving par1EntityLiving)
 
int getColorMultiplier (EntityLiving par1EntityLiving, float par2, float par3)
 
void preRenderCallback (EntityLiving par1EntityLiving, float par2)
 
void passSpecialRender (EntityLiving par1EntityLiving, double par2, double par4, double par6)
 
void func_96449_a (EntityLiving par1EntityLiving, double par2, double par4, double par6, String par8Str, float par9, double par10)
 
void renderLivingLabel (EntityLiving par1EntityLiving, String par2Str, double par3, double par5, double par7, int par9)
 
- Protected Member Functions inherited from net.minecraft.client.renderer.entity.Render
void loadTexture (String par1Str)
 
boolean loadDownloadableImageTexture (String par1Str, String par2Str)
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.client.renderer.entity.Render
static void renderOffsetAABB (AxisAlignedBB par0AxisAlignedBB, double par1, double par3, double par5)
 
static void renderAABB (AxisAlignedBB par0AxisAlignedBB)
 
- Protected Attributes inherited from net.minecraft.client.renderer.entity.RenderLiving
ModelBase mainModel
 
ModelBase renderPassModel
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.entity.RenderPlayer.RenderPlayer ( )

Member Function Documentation

void net.minecraft.client.renderer.entity.RenderPlayer.doRender ( Entity  par1Entity,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)
virtual

Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.

Reimplemented from net.minecraft.client.renderer.entity.RenderLiving.

void net.minecraft.client.renderer.entity.RenderPlayer.doRenderLiving ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)
void net.minecraft.client.renderer.entity.RenderPlayer.func_82408_c ( EntityLiving  par1EntityLiving,
int  par2,
float  par3 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.func_82439_b ( EntityPlayer  par1EntityPlayer,
int  par2,
float  par3 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.func_96449_a ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6,
String  par8Str,
float  par9,
double  par10 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.func_96450_a ( EntityPlayer  par1EntityPlayer,
double  par2,
double  par4,
double  par6,
String  par8Str,
float  par9,
double  par10 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.func_98190_a ( EntityLiving  par1EntityLiving)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.func_98191_a ( EntityPlayer  par1EntityPlayer)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.preRenderCallback ( EntityLiving  par1EntityLiving,
float  par2 
)
protected

Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime

void net.minecraft.client.renderer.entity.RenderPlayer.renderEquippedItems ( EntityLiving  par1EntityLiving,
float  par2 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.renderFirstPersonArm ( EntityPlayer  par1EntityPlayer)
void net.minecraft.client.renderer.entity.RenderPlayer.renderLivingAt ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6 
)
protected

Sets a simple glTranslate on a LivingEntity.

void net.minecraft.client.renderer.entity.RenderPlayer.renderPlayer ( EntityPlayer  par1EntityPlayer,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)
void net.minecraft.client.renderer.entity.RenderPlayer.renderPlayerScale ( EntityPlayer  par1EntityPlayer,
float  par2 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.renderPlayerSleep ( EntityPlayer  par1EntityPlayer,
double  par2,
double  par4,
double  par6 
)
protected

Renders player with sleeping offset if sleeping

void net.minecraft.client.renderer.entity.RenderPlayer.renderSpecials ( EntityPlayer  par1EntityPlayer,
float  par2 
)
protected

Method for adding special render rules

void net.minecraft.client.renderer.entity.RenderPlayer.rotateCorpse ( EntityLiving  par1EntityLiving,
float  par2,
float  par3,
float  par4 
)
protected
void net.minecraft.client.renderer.entity.RenderPlayer.rotatePlayer ( EntityPlayer  par1EntityPlayer,
float  par2,
float  par3,
float  par4 
)
protected

Rotates the player if the player is sleeping. This method is called in rotateCorpse.

int net.minecraft.client.renderer.entity.RenderPlayer.setArmorModel ( EntityPlayer  par1EntityPlayer,
int  par2,
float  par3 
)
protected

Set the specified armor model as the player model. Args: player, armorSlot, partialTick

int net.minecraft.client.renderer.entity.RenderPlayer.shouldRenderPass ( EntityLiving  par1EntityLiving,
int  par2,
float  par3 
)
protected

Queries whether should render the specified pass or not.

Member Data Documentation

String [] net.minecraft.client.renderer.entity.RenderPlayer.armorFilenamePrefix = new String[] {"cloth", "chain", "iron", "diamond", "gold"}
static
float net.minecraft.client.renderer.entity.RenderPlayer.NAME_TAG_RANGE = 64.0f
static
float net.minecraft.client.renderer.entity.RenderPlayer.NAME_TAG_RANGE_SNEAK = 32.0f
static

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