Class DynamiteItem

java.lang.Object
net.minecraft.src.Item
btw.item.items.DynamiteItem

public class DynamiteItem extends Item
  • Constructor Details

    • DynamiteItem

      public DynamiteItem(int iItemID)
  • Method Details

    • onItemRightClick

      public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer entityPlayer)
      Description copied from class: Item
      // +++START EDIT+++ // ---END EDIT--- Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
      Overrides:
      onItemRightClick in class Item
    • onItemUsedByBlockDispenser

      public boolean onItemUsedByBlockDispenser(ItemStack stack, World world, int i, int j, int k, int iFacing)
      Description copied from class: Item
      This method should return true if the item is successfully placed (in which case the BD will consume the corresponding item in its inventory), false otherwise. Co-ordinates specify the BD position.
      Overrides:
      onItemUsedByBlockDispenser in class Item