Class ItemPickaxe


public class ItemPickaxe extends ItemTool
  • Constructor Details

    • ItemPickaxe

      protected ItemPickaxe(int par1, EnumToolMaterial par2EnumToolMaterial)
  • Method Details

    • canHarvestBlock

      public boolean canHarvestBlock(Block par1Block)
      Returns if the item (tool) can harvest results from the block type.
    • getStrVsBlock

      public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
      Returns the strength of the stack against a given block. 1.0F base, (Quality+1)*2 if correct blocktype, 1.5F if sword
      Overrides:
      getStrVsBlock in class ItemTool