Class RendererLivingEntity

java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RendererLivingEntity
Direct Known Subclasses:
RenderLiving, RenderPlayer

public abstract class RendererLivingEntity extends Render
  • Field Details

    • mainModel

      protected ModelBase mainModel
    • renderPassModel

      protected ModelBase renderPassModel
      The model to be used during the render passes.
  • Constructor Details

    • RendererLivingEntity

      public RendererLivingEntity(ModelBase par1ModelBase, float par2)
  • Method Details

    • setRenderPassModel

      public void 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
    • 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

      protected float renderSwingProgress(EntityLivingBase par1EntityLivingBase, float par2)
    • handleRotationFloat

      protected float handleRotationFloat(EntityLivingBase par1EntityLivingBase, float par2)
      Defines what float the third param in setRotationAngles of ModelBase is
    • renderEquippedItems

      protected void renderEquippedItems(EntityLivingBase par1EntityLivingBase, float par2)
    • renderArrowsStuckInEntity

      protected void renderArrowsStuckInEntity(EntityLivingBase par1EntityLivingBase, float par2)
      renders arrows the Entity has been attacked with, attached to it
    • inheritRenderPass

      protected int inheritRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
    • shouldRenderPass

      protected int shouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
      Queries whether should render the specified pass or not.
    • func_82408_c

      protected void func_82408_c(EntityLivingBase par1EntityLivingBase, int par2, float par3)
    • getDeathMaxRotation

      protected float getDeathMaxRotation(EntityLivingBase par1EntityLivingBase)
    • getColorMultiplier

      protected int getColorMultiplier(EntityLivingBase par1EntityLivingBase, float par2, float par3)
      Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime
    • preRenderCallback

      protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2)
      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

      protected boolean func_110813_b(EntityLivingBase par1EntityLivingBase)
    • 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.
      Specified by:
      doRender in class Render