Class MortarItem

java.lang.Object
net.minecraft.src.Item
btw.item.items.MortarItem
Direct Known Subclasses:
ClayItem, NetherSludgeItem, SlimeballItem

public class MortarItem extends Item
  • Constructor Details

    • MortarItem

      public MortarItem(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