Package net.minecraft.src
Class RendererLivingEntity
java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RendererLivingEntity
- Direct Known Subclasses:
RenderLiving,RenderPlayer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModelBaseprotected ModelBaseThe model to be used during the render passes.Fields inherited from class net.minecraft.src.Render
renderBlocks, renderManager, shadowOpaque, shadowSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidActually renders the given argument.voiddoRenderLiving(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9) protected booleanfunc_110813_b(EntityLivingBase par1EntityLivingBase) protected voidfunc_82408_c(EntityLivingBase par1EntityLivingBase, int par2, float par3) protected voidfunc_96449_a(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, String par8Str, float par9, double par10) protected intgetColorMultiplier(EntityLivingBase par1EntityLivingBase, float par2, float par3) Returns an ARGB int color back.protected floatgetDeathMaxRotation(EntityLivingBase par1EntityLivingBase) protected floathandleRotationFloat(EntityLivingBase par1EntityLivingBase, float par2) Defines what float the third param in setRotationAngles of ModelBase isprotected intinheritRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3) protected voidpassSpecialRender(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6) Passes the specialRender and renders itprotected voidpreRenderCallback(EntityLivingBase par1EntityLivingBase, float par2) Allows the render to do any OpenGL state modifications necessary before the model is rendered.protected voidrenderArrowsStuckInEntity(EntityLivingBase par1EntityLivingBase, float par2) renders arrows the Entity has been attacked with, attached to itprotected voidrenderEquippedItems(EntityLivingBase par1EntityLivingBase, float par2) protected voidrenderLivingAt(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6) Sets a simple glTranslate on a LivingEntity.protected voidrenderLivingLabel(EntityLivingBase par1EntityLivingBase, String par2Str, double par3, double par5, double par7, int par9) Draws the debug or playername text above a livingprotected voidrenderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7) Renders the model in RenderLivingprotected floatrenderSwingProgress(EntityLivingBase par1EntityLivingBase, float par2) protected voidrotateCorpse(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) voidsetRenderPassModel(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: modelprotected intshouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3) Queries whether should render the specified pass or not.Methods inherited from class net.minecraft.src.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getEntityTexture, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
-
Field Details
-
mainModel
-
renderPassModel
The model to be used during the render passes.
-
-
Constructor Details
-
RendererLivingEntity
-
-
Method Details
-
setRenderPassModel
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 -
doRenderLiving
public void doRenderLiving(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9) -
renderModel
protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7) Renders the model in RenderLiving -
renderLivingAt
protected void renderLivingAt(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6) Sets a simple glTranslate on a LivingEntity. -
rotateCorpse
protected void rotateCorpse(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) -
renderSwingProgress
-
handleRotationFloat
Defines what float the third param in setRotationAngles of ModelBase is -
renderEquippedItems
-
renderArrowsStuckInEntity
renders arrows the Entity has been attacked with, attached to it -
inheritRenderPass
-
shouldRenderPass
Queries whether should render the specified pass or not. -
func_82408_c
-
getDeathMaxRotation
-
getColorMultiplier
Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime -
preRenderCallback
Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime -
passSpecialRender
protected void passSpecialRender(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6) Passes the specialRender and renders it -
func_110813_b
-
func_96449_a
protected void func_96449_a(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, String par8Str, float par9, double par10) -
renderLivingLabel
protected void renderLivingLabel(EntityLivingBase par1EntityLivingBase, String par2Str, double par3, double par5, double par7, int par9) Draws the debug or playername text above a living -
doRender
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) 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.
-