Class PickaxeItem

All Implemented Interfaces:
FeatureElement, ItemLike, IForgeItem

public class PickaxeItem extends DiggerItem
  • Constructor Details

  • 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