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