Class ItemAxeNetherite

All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

@Since("1.4.0.0-PN") public class ItemAxeNetherite extends ItemTool
  • Constructor Details

    • ItemAxeNetherite

      @Since("1.4.0.0-PN") public ItemAxeNetherite()
    • ItemAxeNetherite

      @Since("1.4.0.0-PN") public ItemAxeNetherite(Integer meta)
    • ItemAxeNetherite

      @Since("1.4.0.0-PN") public ItemAxeNetherite(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:
    • isLavaResistant

      @PowerNukkitOnly public boolean isLavaResistant()
      Description copied from class: Item
      这个物品如下界合金套一样能在岩浆上飘浮

      If the item is resistant to lava and fire and can float on lava like if it was on water.

      Overrides:
      isLavaResistant in class Item
    • 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: