Class ItemMultiTextureTile

Direct Known Subclasses:
ItemAnvilBlock, LegacySaplingBlockItem, LogBlockItem

public class ItemMultiTextureTile extends ItemBlock
  • Constructor Details

    • ItemMultiTextureTile

      public ItemMultiTextureTile(int par1, Block par2Block, String[] par3ArrayOfStr)
  • Method Details

    • getIconFromDamage

      public Icon getIconFromDamage(int par1)
      Gets an icon index based on an item's damage value
      Overrides:
      getIconFromDamage in class ItemBlock
    • getMetadata

      public int getMetadata(int par1)
      Returns the metadata of the block which this Item (ItemBlock) can place
      Overrides:
      getMetadata in class PlaceAsBlockItem
    • getUnlocalizedName

      public String getUnlocalizedName(ItemStack par1ItemStack)
      Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
      Overrides:
      getUnlocalizedName in class ItemBlock