Class ItemAxeGold

All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

public class ItemAxeGold extends ItemTool
Author:
MagicDroidX (Nukkit Project)
  • Constructor Details

    • ItemAxeGold

      public ItemAxeGold()
    • ItemAxeGold

      public ItemAxeGold(Integer meta)
    • ItemAxeGold

      public ItemAxeGold(Integer meta, int count)
  • Method Details

    • getMaxDurability

      public int getMaxDurability()
      Description copied from class: Item
      定义物品最大耐久值

      Define the maximum durability value of the item

      Overrides:
      getMaxDurability in class Item
      Returns:
    • isAxe

      public boolean isAxe()
      Description copied from class: Item
      定义物品是否为斧子

      Define if the item is a Axe

      Overrides:
      isAxe in class ItemTool
      Returns:
    • getTier

      public int getTier()
      Description copied from class: Item
      定义物品的挖掘等级

      Define the item Tier level

      Overrides:
      getTier in class Item
      Returns:
    • getAttackDamage

      public int getAttackDamage()
      Description copied from class: Item
      定义物品的攻击伤害

      Define the attackdamage of an item

      Overrides:
      getAttackDamage in class Item
      Returns:
    • canBreakShield

      @Since("1.19.21-r4") public boolean canBreakShield()
      Description copied from class: Item
      定义物品是否可以打破盾牌

      Define if the item can break the shield

      Overrides:
      canBreakShield in class Item
      Returns: