Class RendererLivingEntity<T extends EntityLivingBase>

    • Constructor Detail

      • RendererLivingEntity

        public RendererLivingEntity​(RenderManager renderManagerIn,
                                    ModelBase modelBaseIn,
                                    float shadowSizeIn)
    • Method Detail

      • getMainModel

        public ModelBase getMainModel()
      • interpolateRotation

        protected float interpolateRotation​(float par1,
                                            float par2,
                                            float par3)
        + Returns a rotation angle that is inbetween two other rotation angles. par1 and par2 are the angles between which to interpolate, par3 is probably a float between 0.0 and 1.0 that tells us where "between" the two angles we are. Example: par1 = 30, par2 = 50, par3 = 0.5, then return = 40
      • transformHeldFull3DItemLayer

        public void transformHeldFull3DItemLayer()
      • doRender

        public void doRender​(T entitylivingbase,
                             double d0,
                             double d1,
                             double d2,
                             float f,
                             float f1)
        + 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) and this method has signature public void func_76986_a(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doe
        Overrides:
        doRender in class Render<T extends EntityLivingBase>
      • setScoreTeamColor

        protected boolean setScoreTeamColor​(T entityLivingBaseIn)
      • unsetScoreTeamColor

        protected void unsetScoreTeamColor()
      • renderModel

        protected void renderModel​(T entitylivingbase,
                                   float f,
                                   float f1,
                                   float f2,
                                   float f3,
                                   float f4,
                                   float f5)
        + Renders the model in RenderLiving
      • setDoRenderBrightness

        protected boolean setDoRenderBrightness​(T entityLivingBaseIn,
                                                float partialTicks)
      • setBrightness

        protected boolean setBrightness​(T entitylivingbaseIn,
                                        float partialTicks,
                                        boolean combineTextures)
      • unsetBrightness

        protected void unsetBrightness()
      • renderLivingAt

        protected void renderLivingAt​(T entityLivingBaseIn,
                                      double x,
                                      double y,
                                      double z)
        + Sets a simple glTranslate on a LivingEntity.
      • rotateCorpse

        protected void rotateCorpse​(T entitylivingbase,
                                    float var2,
                                    float f,
                                    float f1)
      • getSwingProgress

        protected float getSwingProgress​(T livingBase,
                                         float partialTickTime)
        + Returns where in the swing animation the living entity is (from 0 to 1). Args : entity, partialTickTime
      • handleRotationFloat

        protected float handleRotationFloat​(T entitylivingbase,
                                            float f)
        + Defines what float the third param in setRotationAngles of ModelBase is
      • renderLayers

        protected void renderLayers​(T entitylivingbaseIn,
                                    float partialTicks,
                                    float parFloat2,
                                    float parFloat3,
                                    float parFloat4,
                                    float parFloat5,
                                    float parFloat6,
                                    float parFloat7)
      • getDeathMaxRotation

        protected float getDeathMaxRotation​(T var1)
      • getColorMultiplier

        protected int getColorMultiplier​(T var1,
                                         float var2,
                                         float var3)
        + Returns an ARGB int color back. Args: entityLiving, lightBrightness, partialTickTime
      • preRenderCallback

        protected void preRenderCallback​(T var1,
                                         float var2)
        + Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime
      • setRenderOutlines

        public void setRenderOutlines​(boolean renderOutlinesIn)