Class PickaxeItemSteel

All Implemented Interfaces:
PlaceableAsItem
Direct Known Subclasses:
MattockItem

public class PickaxeItemSteel extends PickaxeItem
  • Constructor Details

    • PickaxeItemSteel

      public PickaxeItemSteel(int i)
  • Method Details

    • getItemUseAction

      public EnumAction getItemUseAction(ItemStack itemstack)
      Description copied from class: Item
      returns the action that specifies what animation to play when the items is being used
      Overrides:
      getItemUseAction in class Item
    • getMaxItemUseDuration

      public int getMaxItemUseDuration(ItemStack itemstack)
      Description copied from class: Item
      How long it takes to use or consume an item
      Overrides:
      getMaxItemUseDuration in class Item
    • 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
    • canHarvestBlock

      public boolean canHarvestBlock(ItemStack stack, World world, Block block, int i, int j, int k)
      Overrides:
      canHarvestBlock in class PickaxeItem
    • getStrVsBlock

      public float getStrVsBlock(ItemStack toolItemStack, World world, Block block, int i, int j, int k)
      Overrides:
      getStrVsBlock in class PickaxeItem