public class InventoryRenderHelper
extends java.lang.Object
| Constructor and Description |
|---|
InventoryRenderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.item.Item |
getItemFromBlock(net.minecraft.block.Block block) |
static void |
itemRender(net.minecraft.item.Item item)
Shorthand of
itemRender(Item, int) |
static void |
itemRender(net.minecraft.item.Item item,
int meta)
Shorthand of
itemRender(Item, int, String) |
static void |
itemRender(net.minecraft.item.Item item,
int meta,
java.lang.String name)
Registers a Model for the given Item and meta.
|
static void |
itemRenderAll(net.minecraft.item.Item item)
Registers a model for the item across all Meta's that get used for the item
|
public static void itemRender(net.minecraft.item.Item item,
int meta,
java.lang.String name)
item - - Item to register Model formeta - - Meta of Itemname - - Name of the model JSONpublic static void itemRender(net.minecraft.item.Item item,
int meta)
itemRender(Item, int, String)item - - Item to register Model formeta - - Meta of Itempublic static void itemRender(net.minecraft.item.Item item)
itemRender(Item, int)item - - Item to register Model forpublic static void itemRenderAll(net.minecraft.item.Item item)
item - - Item to register Model forpublic static net.minecraft.item.Item getItemFromBlock(net.minecraft.block.Block block)
block - - Block to get Item of