Class ItemHoeNetherite

All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

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

    • ItemHoeNetherite

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

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

      @Since("1.4.0.0-PN") public ItemHoeNetherite(Integer meta, int count)
  • Method Details

    • isHoe

      public boolean isHoe()
      Description copied from class: Item
      定义物品是否为锄头

      Define if the item is a Hoe

      Overrides:
      isHoe in class ItemTool
      Returns:
    • getAttackDamage

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

      Define the attackdamage of an item

      Overrides:
      getAttackDamage in class Item
      Returns:
    • getTier

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

      Define the item Tier level

      Overrides:
      getTier in class Item
      Returns:
    • getMaxDurability

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

      Define the maximum durability value of the item

      Overrides:
      getMaxDurability 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