Package net.minecraft.src
Class RenderDragon
java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RendererLivingEntity
net.minecraft.src.RenderLiving
net.minecraft.src.RenderDragon
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModelDragonAn instance of the dragon model in RenderDragonFields 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 ResourceLocationgetEnderDragonTextures(EntityDragon par1EntityDragon) protected ResourceLocationgetEntityTexture(Entity par1Entity) Returns the location of an entity's texture.voidrenderDragon(EntityDragon par1EntityDragon, double par2, double par4, double par6, float par8, float par9) Renders the dragon, along with its dying animationprotected voidrenderDragonDying(EntityDragon par1EntityDragon, float par2) Renders the animation for when an enderdragon diesprotected voidrenderDragonModel(EntityDragon par1EntityDragon, float par2, float par3, float par4, float par5, float par6, float par7) Renders the dragon model.protected voidrenderEquippedItems(EntityLivingBase par1EntityLivingBase, float par2) protected intrenderGlow(EntityDragon par1EntityDragon, int par2, float par3) Renders the overlay for glowing eyes and the mouth.protected voidrenderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7) Renders the model in RenderLivingvoidrenderPlayer(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9) protected voidrotateCorpse(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) protected voidrotateDragonBody(EntityDragon par1EntityDragon, float par2, float par3, float par4) Used to rotate the dragon as a whole in RenderDragon.protected intshouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3) Queries whether should render the specified 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, preRenderCallback, renderArrowsStuckInEntity, renderLivingAt, renderLivingLabel, renderSwingProgress, setRenderPassModelMethods inherited from class net.minecraft.src.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
-
Field Details
-
modelDragon
An instance of the dragon model in RenderDragon
-
-
Constructor Details
-
RenderDragon
public RenderDragon()
-
-
Method Details
-
rotateDragonBody
Used to rotate the dragon as a whole in RenderDragon. It's called in the rotateCorpse method. -
renderDragonModel
protected void renderDragonModel(EntityDragon par1EntityDragon, float par2, float par3, float par4, float par5, float par6, float par7) Renders the dragon model. Called by renderModel. -
renderDragon
public void renderDragon(EntityDragon par1EntityDragon, double par2, double par4, double par6, float par8, float par9) Renders the dragon, along with its dying animation -
renderDragonDying
Renders the animation for when an enderdragon dies -
getEnderDragonTextures
-
renderGlow
Renders the overlay for glowing eyes and the mouth. Called by shouldRenderPass. -
doRenderLiving
public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9) - Overrides:
doRenderLivingin 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
-
renderEquippedItems
- Overrides:
renderEquippedItemsin classRendererLivingEntity
-
shouldRenderPass
Queries whether should render the specified pass or not.- Overrides:
shouldRenderPassin classRendererLivingEntity
-
rotateCorpse
protected void rotateCorpse(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4) - Overrides:
rotateCorpsein classRendererLivingEntity
-
renderModel
protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7) Renders the model in RenderLiving- Overrides:
renderModelin 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
-