类 PickaxeItem

所有已实现的接口:
FeatureElement, ItemLike, IForgeItem

public class PickaxeItem extends DiggerItem
  • 构造器详细资料

  • 方法详细资料

    • canPerformAction

      public boolean canPerformAction(ItemStack stack, ToolAction toolAction)
      从接口复制的说明: IForgeItem
      Queries if an item can perform the given action. See ToolActions for a description of each stock action
      参数:
      stack - The stack being used
      toolAction - The action being queried
      返回:
      True if the stack can perform the action