Class RenderItem

java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RenderItem

public class RenderItem extends Render
  • Field Details

    • renderWithColor

      public boolean renderWithColor
    • zLevel

      public float zLevel
      Defines the zLevel of rendering of item on GUI.
    • renderInFrame

      public static boolean renderInFrame
    • forceFancyItemRender

      public static boolean forceFancyItemRender
  • Constructor Details

    • RenderItem

      public RenderItem()
  • Method Details

    • doRenderItem

      public void doRenderItem(EntityItem par1EntityItem, double par2, double par4, double par6, float par8, float par9)
      Renders the item
    • func_110796_a

      protected ResourceLocation func_110796_a(EntityItem par1EntityItem)
    • renderItemIntoGUI

      public void renderItemIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5)
      Renders the item's icon or block into the UI at the specified position.
    • renderItemAndEffectIntoGUI

      public void renderItemAndEffectIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5)
      Render the item's icon or block into the GUI, including the glint effect.
    • renderItemOverlayIntoGUI

      public void renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5)
      Renders the item's overlay information. Examples being stack count or damage on top of the item's image at the specified position.
    • renderItemOverlayIntoGUI

      public void renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5, String par6Str)
    • renderIcon

      public void renderIcon(int par1, int par2, Icon par3Icon, int par4, int par5)
    • 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
    • doRender

      public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
      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.
      Specified by:
      doRender in class Render