net.minecraftforge.client

## Class MinecraftForgeClient

- java.lang.Object
- - net.minecraftforge.client.MinecraftForgeClient

-     public class MinecraftForgeClient
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MinecraftForgeClient()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static IItemRenderer` | `getItemRenderer(ItemStack item, IItemRenderer.ItemRenderType type)`
    `static int` | `getRenderPass()`
    `static void` | `preloadTexture(String texture)` Deprecated.
    `static void` | `registerItemRenderer(int itemID, IItemRenderer renderer)` Register a custom renderer for a specific item.

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

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

- - ### Constructor Detail

    - #### MinecraftForgeClient

          public MinecraftForgeClient()

  - ### Method Detail

    - #### preloadTexture

          @Deprecated
          public static void preloadTexture(String texture)

      Deprecated.
      NO-OP now. Not needed with new texturing system in MC 1.5

    - #### registerItemRenderer

          public static void registerItemRenderer(int itemID,
                                  IItemRenderer renderer)

      Register a custom renderer for a specific item. This can be used to render the item in-world as an EntityItem, when the item is equipped, or when the item is in an inventory slot.
      Parameters:
        `itemID` - The item ID (shifted index) to handle rendering.
        `renderer` - The IItemRenderer interface that handles rendering for this item.

    - #### getItemRenderer

          public static IItemRenderer getItemRenderer(ItemStack item,
                                      IItemRenderer.ItemRenderType type)

    - #### getRenderPass

          public static int getRenderPass()