Class MiningChargeBlockItem


public class MiningChargeBlockItem extends ItemBlock
  • Constructor Details

    • MiningChargeBlockItem

      public MiningChargeBlockItem(int iItemID)
  • Method Details

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