Class ItemCoal

java.lang.Object
net.minecraft.src.Item
net.minecraft.src.ItemCoal

public class ItemCoal extends Item
  • Constructor Details

    • ItemCoal

      public ItemCoal(int par1)
  • Method Details

    • 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 Item
    • getSubItems

      public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List)
      returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
      Overrides:
      getSubItems in class Item
    • getIconFromDamage

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

      public void registerIcons(IconRegister par1IconRegister)
      Overrides:
      registerIcons in class Item