Class AestheticOpaqueBlockItem


public class AestheticOpaqueBlockItem extends ItemBlock
  • Constructor Details

    • AestheticOpaqueBlockItem

      public AestheticOpaqueBlockItem(int iItemID)
  • Method Details

    • 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
    • getBlockIDToPlace

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

      public float getBuoyancy(int iItemDamage)
      Overrides:
      getBuoyancy in class ItemBlock