Class WoolSlabBlockItem


public class WoolSlabBlockItem extends SlabBlockItem
  • Constructor Details

    • WoolSlabBlockItem

      public WoolSlabBlockItem(int i)
  • Method Details

    • getMetadata

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

      public int getBlockIDToPlace(int iItemDamage, int iFacing, float fClickX, float fClickY, float fClickZ)
      Overrides:
      getBlockIDToPlace in class PlaceAsBlockItem
    • canCombineWithBlock

      public boolean canCombineWithBlock(World world, int i, int j, int k, int iItemDamage)
      Overrides:
      canCombineWithBlock in class SlabBlockItem
    • 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