Class LeavesBlockItem


public class LeavesBlockItem extends ItemBlock
  • Constructor Details

    • LeavesBlockItem

      public LeavesBlockItem(int iItemID)
  • Method Details

    • getMetadata

      public int getMetadata(int iItemDamage)
      Description copied from class: Item
      Returns the metadata of the block which this Item (ItemBlock) can place
      Overrides:
      getMetadata in class PlaceAsBlockItem
    • getIconFromDamage

      @Environment(CLIENT) public Icon getIconFromDamage(int iItemDamage)
      Description copied from class: ItemBlock
      Gets an icon index based on an item's damage value
      Overrides:
      getIconFromDamage in class ItemBlock
    • getColorFromItemStack

      @Environment(CLIENT) public int getColorFromItemStack(ItemStack itemStack, int iLayer)
      Overrides:
      getColorFromItemStack in class ItemBlock