Package net.minecraft.src
Class RenderVillager
java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RendererLivingEntity
net.minecraft.src.RenderLiving
net.minecraft.src.RenderVillager
-
Field Summary
FieldsFields inherited from class net.minecraft.src.RendererLivingEntity
mainModel, renderPassModelFields inherited from class net.minecraft.src.Render
renderBlocks, renderManager, shadowOpaque, shadowSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidActually renders the given argument.voiddoRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9) protected ResourceLocationfunc_110902_a(EntityVillager par1EntityVillager) protected ResourceLocationgetEntityTexture(Entity par1Entity) Returns the location of an entity's texture.protected voidpreRenderCallback(EntityLivingBase par1EntityLivingBase, float par2) Allows the render to do any OpenGL state modifications necessary before the model is rendered.protected voidpreRenderVillager(EntityVillager par1EntityVillager, float par2) protected voidrenderEquippedItems(EntityLivingBase par1EntityLivingBase, float par2) protected intrenderEyes(EntityVillager villager, int iRenderPass) voidrenderPlayer(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9) voidrenderVillager(EntityVillager par1EntityVillager, double par2, double par4, double par6, float par8, float par9) protected voidrenderVillagerEquipedItems(EntityVillager par1EntityVillager, float par2) protected intshouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3) Queries whether should render the specified pass or not.protected intshouldVillagerRenderPass(EntityVillager par1EntityVillager, int par2, float par3) Determines wether Villager Render pass or not.Methods inherited from class net.minecraft.src.RenderLiving
func_110813_b, func_110827_b, func_130007_bMethods inherited from class net.minecraft.src.RendererLivingEntity
doRenderLiving, func_82408_c, func_96449_a, getColorMultiplier, getDeathMaxRotation, handleRotationFloat, inheritRenderPass, passSpecialRender, renderArrowsStuckInEntity, renderLivingAt, renderLivingLabel, renderModel, renderSwingProgress, rotateCorpse, setRenderPassModelMethods inherited from class net.minecraft.src.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
-
Field Details
-
villagerModel
Model of the villager.
-
-
Constructor Details
-
RenderVillager
public RenderVillager()
-
-
Method Details
-
shouldVillagerRenderPass
Determines wether Villager Render pass or not. -
renderVillager
public void renderVillager(EntityVillager par1EntityVillager, double par2, double par4, double par6, float par8, float par9) -
renderVillagerEquipedItems
-
func_110902_a
-
preRenderVillager
-
preRenderCallback
Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime- Overrides:
preRenderCallbackin classRendererLivingEntity
-
doRenderLiving
public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9) - Overrides:
doRenderLivingin classRenderLiving
-
shouldRenderPass
Queries whether should render the specified pass or not.- Overrides:
shouldRenderPassin classRendererLivingEntity
-
renderEquippedItems
- Overrides:
renderEquippedItemsin classRendererLivingEntity
-
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.- Overrides:
doRenderin classRenderLiving
-
renderPlayer
public void renderPlayer(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9) - Overrides:
renderPlayerin classRenderLiving
-
getEntityTexture
Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexturein classRender
-
renderEyes
-