Class DoorItem

java.lang.Object
net.minecraft.src.Item
btw.item.items.DoorItem
Direct Known Subclasses:
DoorItemWood

public abstract class DoorItem extends Item
  • Constructor Details

    • DoorItem

      public DoorItem(int iITemID)
  • Method Details

    • onItemUse

      public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int i, int j, int k, int iFacing, float fClickX, float fClickY, float fClickZ)
      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 Item
    • getDoorBlock

      public abstract Block getDoorBlock()