public interface ItemAPI
| Modifier and Type | Method and Description |
|---|---|
ItemInfo |
get(net.minecraft.item.ItemStack stack)
Get a descriptor object for the block or item represented by the
specified item stack.
|
ItemInfo |
get(java.lang.String name)
Get a descriptor object for the block or item with the specified name.
|
ItemInfo get(java.lang.String name)
name - the name of the item to get the descriptor for.ItemInfo get(net.minecraft.item.ItemStack stack)
stack - the stack to get the descriptor for.