Class PickaxeItem

All Implemented Interfaces:
Vanishable, ItemLike, IForgeItem

public class PickaxeItem extends DiggerItem
  • Constructor Details

    • PickaxeItem

      public PickaxeItem(Tier p_42961_, int p_42962_, float p_42963_, Item.Properties p_42964_)
  • Method Details

    • canPerformAction

      public boolean canPerformAction(ItemStack stack, ToolAction toolAction)
      Description copied from interface: IForgeItem
      Queries if an item can perform the given action. See ToolActions for a description of each stock action
      Parameters:
      stack - The stack being used
      toolAction - The action being queried
      Returns:
      True if the stack can perform the action