public class ItemLeaves extends ItemBlock
Item.ToolMaterial| Modifier and Type | Field and Description |
|---|---|
private BlockLeaves |
leaves |
bFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemLeaves(BlockLeaves block) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColorFromItemStack(ItemStack stack,
int renderPass) |
int |
getMetadata(int damage)
Converts the given ItemStack damage value into a metadata value to be placed in the world when this Item is
placed as a Block (mostly used with ItemBlocks).
|
java.lang.String |
getUnlocalizedName(ItemStack stack)
Returns the unlocalized name of this item.
|
canPlaceBlockOnSide, getBlock, getCreativeTab, getSubItems, getUnlocalizedName, onItemUse, setTileEntityNBT, setUnlocalizedNameaddInformation, canHarvestBlock, canItemEditBlocks, getByNameOrId, getContainerItem, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getStrVsBlock, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUseFinish, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, shouldRotateAroundWhenRendering, updateItemStackNBTprivate final BlockLeaves leaves
public ItemLeaves(BlockLeaves block)
public int getMetadata(int damage)
getMetadata in class Itempublic int getColorFromItemStack(ItemStack stack, int renderPass)
getColorFromItemStack in class Itempublic java.lang.String getUnlocalizedName(ItemStack stack)
getUnlocalizedName in class ItemBlock