YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.entity.RenderLiving Class Reference
Inheritance diagram for net.minecraft.client.renderer.entity.RenderLiving:
net.minecraft.client.renderer.entity.Render net.minecraft.client.renderer.entity.RenderBat net.minecraft.client.renderer.entity.RenderBiped net.minecraft.client.renderer.entity.RenderBlaze net.minecraft.client.renderer.entity.RenderChicken net.minecraft.client.renderer.entity.RenderCow net.minecraft.client.renderer.entity.RenderCreeper net.minecraft.client.renderer.entity.RenderDragon net.minecraft.client.renderer.entity.RenderEnderman net.minecraft.client.renderer.entity.RenderGhast net.minecraft.client.renderer.entity.RenderGiantZombie net.minecraft.client.renderer.entity.RenderIronGolem net.minecraft.client.renderer.entity.RenderMagmaCube net.minecraft.client.renderer.entity.RenderMooshroom net.minecraft.client.renderer.entity.RenderOcelot net.minecraft.client.renderer.entity.RenderPig net.minecraft.client.renderer.entity.RenderPlayer net.minecraft.client.renderer.entity.RenderSheep net.minecraft.client.renderer.entity.RenderSilverfish net.minecraft.client.renderer.entity.RenderSlime net.minecraft.client.renderer.entity.RenderSnowMan net.minecraft.client.renderer.entity.RenderSpider net.minecraft.client.renderer.entity.RenderSquid net.minecraft.client.renderer.entity.RenderVillager net.minecraft.client.renderer.entity.RenderWitch net.minecraft.client.renderer.entity.RenderWither net.minecraft.client.renderer.entity.RenderWolf

Public Member Functions

 RenderLiving (ModelBase par1ModelBase, float par2)
 
void setRenderPassModel (ModelBase par1ModelBase)
 
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.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 float NAME_TAG_RANGE = 64.0f
 
static float NAME_TAG_RANGE_SNEAK = 32.0f
 

Protected Member Functions

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)
 

Protected Attributes

ModelBase mainModel
 
ModelBase renderPassModel
 
- Protected Attributes inherited from net.minecraft.client.renderer.entity.Render
RenderManager renderManager
 
RenderBlocks renderBlocks = new RenderBlocks()
 
float shadowSize = 0.0F
 
float shadowOpaque = 1.0F
 

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)
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.entity.RenderLiving.RenderLiving ( ModelBase  par1ModelBase,
float  par2 
)

Member Function Documentation

void net.minecraft.client.renderer.entity.RenderLiving.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.

Implements net.minecraft.client.renderer.entity.Render.

Reimplemented in net.minecraft.client.renderer.entity.RenderPlayer, net.minecraft.client.renderer.entity.RenderWitch, net.minecraft.client.renderer.entity.RenderWither, net.minecraft.client.renderer.entity.RenderZombie, net.minecraft.client.renderer.entity.RenderVillager, net.minecraft.client.renderer.entity.RenderMooshroom, net.minecraft.client.renderer.entity.RenderSquid, net.minecraft.client.renderer.entity.RenderMagmaCube, net.minecraft.client.renderer.entity.RenderSilverfish, net.minecraft.client.renderer.entity.RenderOcelot, and net.minecraft.client.renderer.entity.RenderPig.

void net.minecraft.client.renderer.entity.RenderLiving.doRenderLiving ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)
void net.minecraft.client.renderer.entity.RenderLiving.func_82408_c ( EntityLiving  par1EntityLiving,
int  par2,
float  par3 
)
protected
void net.minecraft.client.renderer.entity.RenderLiving.func_96449_a ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6,
String  par8Str,
float  par9,
double  par10 
)
protected
void net.minecraft.client.renderer.entity.RenderLiving.func_98190_a ( EntityLiving  par1EntityLiving)
protected
int net.minecraft.client.renderer.entity.RenderLiving.getColorMultiplier ( EntityLiving  par1EntityLiving,
float  par2,
float  par3 
)
protected

Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime

float net.minecraft.client.renderer.entity.RenderLiving.getDeathMaxRotation ( EntityLiving  par1EntityLiving)
protected
float net.minecraft.client.renderer.entity.RenderLiving.handleRotationFloat ( EntityLiving  par1EntityLiving,
float  par2 
)
protected

Defines what float the third param in setRotationAngles of ModelBase is

int net.minecraft.client.renderer.entity.RenderLiving.inheritRenderPass ( EntityLiving  par1EntityLiving,
int  par2,
float  par3 
)
protected
void net.minecraft.client.renderer.entity.RenderLiving.passSpecialRender ( EntityLiving  par1EntityLiving,
double  par2,
double  par4,
double  par6 
)
protected

Passes the specialRender and renders it

void net.minecraft.client.renderer.entity.RenderLiving.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.RenderLiving.renderArrowsStuckInEntity ( EntityLiving  par1EntityLiving,
float  par2 
)
protected

renders arrows the Entity has been attacked with, attached to it

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

Sets a simple glTranslate on a LivingEntity.

void net.minecraft.client.renderer.entity.RenderLiving.renderLivingLabel ( EntityLiving  par1EntityLiving,
String  par2Str,
double  par3,
double  par5,
double  par7,
int  par9 
)
protected

Draws the debug or playername text above a living

void net.minecraft.client.renderer.entity.RenderLiving.renderModel ( EntityLiving  par1EntityLiving,
float  par2,
float  par3,
float  par4,
float  par5,
float  par6,
float  par7 
)
protected

Renders the model in RenderLiving

float net.minecraft.client.renderer.entity.RenderLiving.renderSwingProgress ( EntityLiving  par1EntityLiving,
float  par2 
)
protected
void net.minecraft.client.renderer.entity.RenderLiving.rotateCorpse ( EntityLiving  par1EntityLiving,
float  par2,
float  par3,
float  par4 
)
protected
void net.minecraft.client.renderer.entity.RenderLiving.setRenderPassModel ( ModelBase  par1ModelBase)

Sets the model to be used in the current render pass (the first render pass is done after the primary model is rendered) Args: model

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

Queries whether should render the specified pass or not.

Member Data Documentation

ModelBase net.minecraft.client.renderer.entity.RenderLiving.mainModel
protected
float net.minecraft.client.renderer.entity.RenderLiving.NAME_TAG_RANGE = 64.0f
static
float net.minecraft.client.renderer.entity.RenderLiving.NAME_TAG_RANGE_SNEAK = 32.0f
static
ModelBase net.minecraft.client.renderer.entity.RenderLiving.renderPassModel
protected

The model to be used during the render passes.


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