Class WoodSidingDecorativeStubBlockItem


public class WoodSidingDecorativeStubBlockItem extends ItemBlock
  • Field Details

  • Constructor Details

    • WoodSidingDecorativeStubBlockItem

      public WoodSidingDecorativeStubBlockItem(int iItemID)
  • Method Details

    • getBlockIDToPlace

      public int getBlockIDToPlace(int iItemDamage, int iFacing, float fClickX, float fClickY, float fClickZ)
      Overrides:
      getBlockIDToPlace in class PlaceAsBlockItem
    • 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
    • getUnlocalizedName

      public String getUnlocalizedName(ItemStack itemstack)
      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
    • getFurnaceBurnTime

      public int getFurnaceBurnTime(int iItemDamage)
      Overrides:
      getFurnaceBurnTime in class ItemBlock
    • getWoodType

      public static int getWoodType(int iItemDamage)
    • getBlockType

      public static int getBlockType(int iItemDamage)
    • getItemDamageForType

      public static int getItemDamageForType(int iWoodType, int iBlockType)