Class PickaxeItem

All Implemented Interfaces:
FeatureElement, ItemLike, IItemExtension

public class PickaxeItem extends DiggerItem
  • Constructor Details Link icon

  • Method Details Link icon

    • canPerformAction Link icon

      public boolean canPerformAction(ItemStack stack, ToolAction toolAction)
      Description copied from interface: IItemExtension
      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