net.minecraft.client.renderer.entity

## Class RenderItem

- java.lang.Object
- - net.minecraft.client.renderer.entity.Render
  - - net.minecraft.client.renderer.entity.RenderItem

-     public class RenderItem
      extends Render

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `field_77024_a`
    `static boolean` | `field_82407_g`
    `float` | `zLevel` Defines the zLevel of rendering of item on GUI.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RenderItem()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)` Actually renders the given argument.
    `void` | `doRenderItem(EntityItem par1EntityItem, double par2, double par4, double par6, float par8, float par9)` Renders the item
    `void` | `func_94148_a(FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5, String par6Str)`
    `void` | `func_94149_a(int par1, int par2, Icon par3Icon, int par4, int par5)`
    `byte` | `getMiniBlockCount(ItemStack stack)`
    `byte` | `getMiniItemCount(ItemStack stack)` Allows for a subclass to override how many rendered items appear in a "mini item 3d stack"
    `void` | `renderItemAndEffectIntoGUI(FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)` Render the item's icon or block into the GUI, including the glint effect.
    `void` | `renderItemIntoGUI(FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)` Renders the item's icon or block into the UI at the specified position.
    `void` | `renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)` Renders the item's overlay information.
    `boolean` | `shouldBob()` Items should have a bob effect
    `boolean` | `shouldSpreadItems()` Items should spread out when rendered in 3d?

    - ### Methods inherited from class net.minecraft.client.renderer.entity.Render

      `doRenderShadowAndFire, func_94143_a, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### field_77024_a

          public boolean field_77024_a

    - #### zLevel

          public float zLevel

      Defines the zLevel of rendering of item on GUI.

    - #### field_82407_g

          public static boolean field_82407_g

  - ### Constructor Detail

    - #### RenderItem

          public RenderItem()

  - ### Method Detail

    - #### doRenderItem

          public void doRenderItem(EntityItem par1EntityItem,
                          double par2,
                          double par4,
                          double par6,
                          float par8,
                          float par9)

      Renders the item

    - #### renderItemIntoGUI

          public void renderItemIntoGUI(FontRenderer par1FontRenderer,
                               RenderEngine par2RenderEngine,
                               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,
                                        RenderEngine par2RenderEngine,
                                        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,
                                      RenderEngine par2RenderEngine,
                                      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.

    - #### func_94148_a

          public void func_94148_a(FontRenderer par1FontRenderer,
                          RenderEngine par2RenderEngine,
                          ItemStack par3ItemStack,
                          int par4,
                          int par5,
                          String par6Str)

    - #### func_94149_a

          public void func_94149_a(int par1,
                          int par2,
                          Icon par3Icon,
                          int par4,
                          int par5)

    - #### 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
      Specified by:
        `doRender` in class `Render`

    - #### shouldSpreadItems

          public boolean shouldSpreadItems()

      Items should spread out when rendered in 3d?
      Returns:

    - #### shouldBob

          public boolean shouldBob()

      Items should have a bob effect
      Returns:

    - #### getMiniBlockCount

          public byte getMiniBlockCount(ItemStack stack)

    - #### getMiniItemCount

          public byte getMiniItemCount(ItemStack stack)

      Allows for a subclass to override how many rendered items appear in a "mini item 3d stack"
      Parameters:
        `stack` -
      Returns: