Class Render<T extends Entity>

    • Field Detail

      • shadowSize

        protected float shadowSize
      • shadowOpaque

        protected float shadowOpaque
        + Determines the darkness of the object's shadow. Higher value makes a darker shadow.
    • Constructor Detail

    • Method Detail

      • shouldRender

        public boolean shouldRender​(T livingEntity,
                                    ICamera camera,
                                    double camX,
                                    double camY,
                                    double camZ)
      • doRender

        public void doRender​(T entity,
                             double d0,
                             double d1,
                             double d2,
                             float var8,
                             float var9)
        + 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
      • renderName

        protected void renderName​(T entity,
                                  double x,
                                  double y,
                                  double z)
      • canRenderName

        protected boolean canRenderName​(T entity)
      • renderOffsetLivingLabel

        protected void renderOffsetLivingLabel​(T entityIn,
                                               double x,
                                               double y,
                                               double z,
                                               java.lang.String str,
                                               float parFloat1,
                                               double parDouble4)
      • getEntityTexture

        protected abstract ResourceLocation getEntityTexture​(T var1)
      • bindEntityTexture

        protected boolean bindEntityTexture​(T entity)
      • renderOffsetAABB

        public static void renderOffsetAABB​(AxisAlignedBB boundingBox,
                                            double x,
                                            double y,
                                            double z)
        + Renders a white box with the bounds of the AABB translated by the offset. Args: aabb, x, y, z
      • doRenderShadowAndFire

        public void doRenderShadowAndFire​(Entity entityIn,
                                          double x,
                                          double y,
                                          double z,
                                          float yaw,
                                          float partialTicks)
        + Renders the entity's shadow and fire (if its on fire). Args: entity, x, y, z, yaw, partialTickTime
      • getFontRendererFromRenderManager

        public FontRenderer getFontRendererFromRenderManager()
        + Returns the font renderer from the set render manager
      • renderLivingLabel

        protected void renderLivingLabel​(T entityIn,
                                         java.lang.String str,
                                         double x,
                                         double y,
                                         double z,
                                         int maxDistance)
        + Renders an entity's name above its head