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)` Preload a texture.
    `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

          public static void preloadTexture(String texture)

      Preload a texture. Textures must be preloaded before the first use, or they will cause visual anomalies.

    - #### 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()