Class IceBlockItem


public class IceBlockItem extends ItemBlock
  • Constructor Details

    • IceBlockItem

      public IceBlockItem(int iItemID)
  • Method Details

    • getUnlocalizedName

      public String getUnlocalizedName(ItemStack stack)
      Description copied from class: ItemBlock
      // +++START EDIT+++ // ---END EDIT--- 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
    • getMetadata

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

      public void getSubItems(int id, CreativeTabs tab, List list)
      Description copied from class: ItemBlock
      returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
      Overrides:
      getSubItems in class ItemBlock