Class SquidRenderer


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

    • SquidRenderer

      public SquidRenderer()
  • Method Details

    • handleRotationFloat

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

      protected void rotateCorpse(EntityLivingBase entity, float par2, float par3, float par4)
      Overrides:
      rotateCorpse in class RendererLivingEntity
    • doRenderLiving

      public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
      Overrides:
      doRenderLiving in class RenderLiving
    • doRender

      public void doRender(Entity entity, 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
    • renderTentacleAttack

      public void renderTentacleAttack(BTWSquidEntity squid, double dRenderX, double dRenderY, double dRenderZ, float par8, float dPartialTick)