Class ItemSwordStone

All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

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

    • ItemSwordStone

      public ItemSwordStone()
    • ItemSwordStone

      public ItemSwordStone(Integer meta)
    • ItemSwordStone

      public ItemSwordStone(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:
    • isSword

      public boolean isSword()
      Description copied from class: Item
      定义物品是否为剑

      Define if the item is a Sword

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