Class BedItem


public class BedItem extends PlaceAsBlockItem
  • Constructor Details

    • BedItem

      public BedItem(int itemID, int blockID)
  • Method Details

    • onItemUse

      public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
      Description copied from class: Item
      Callback for item usage. If the item does something special on right clicking, he will have one of those. Return True if something happen and false if it don't. This is for ITEMS, not BLOCKS
      Overrides:
      onItemUse in class PlaceAsBlockItem