Class RenderPig


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

    • RenderPig

      public RenderPig(ModelBase par1ModelBase, ModelBase par2ModelBase, float par3)
  • Method Details

    • renderSaddledPig

      protected int renderSaddledPig(EntityPig par1EntityPig, int par2, float par3)
    • getPigTextures

      protected ResourceLocation getPigTextures(EntityPig par1EntityPig)
    • shouldRenderPass

      protected int shouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
      Queries whether should render the specified pass or not.
      Overrides:
      shouldRenderPass in class RendererLivingEntity
    • getEntityTexture

      protected ResourceLocation getEntityTexture(Entity par1Entity)
      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