Class DireWolfRenderer


@Environment(CLIENT) public class DireWolfRenderer extends RenderLiving
  • Constructor Details

  • Method Details

    • handleRotationFloat

      protected float handleRotationFloat(EntityLivingBase par1EntityLiving, float par2)
      Description copied from class: RendererLivingEntity
      Defines what float the third param in setRotationAngles of ModelBase is
      Overrides:
      handleRotationFloat in class RendererLivingEntity
    • doRender

      public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
      Description copied from class: RenderLiving
      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:
      doRender in class RenderLiving
    • getEntityTexture

      protected ResourceLocation getEntityTexture(Entity var1)
      Description copied from class: Render
      Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
      Specified by:
      getEntityTexture in class Render
    • preRenderCallback

      protected void preRenderCallback(EntityLivingBase par1EntityLiving, float par2)
      Description copied from class: RendererLivingEntity
      Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime
      Overrides:
      preRenderCallback in class RendererLivingEntity
    • shouldRenderPass

      protected int shouldRenderPass(EntityLivingBase entity, int iRenderPass, float par3)
      Description copied from class: RendererLivingEntity
      Queries whether should render the specified pass or not.
      Overrides:
      shouldRenderPass in class RendererLivingEntity
    • getTailRotation

      protected float getTailRotation(DireWolfEntity wolf, float par2)
    • renderEyes

      protected int renderEyes(DireWolfEntity wolf, int iRenderPass)