Class ItemShears

All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

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

    • ItemShears

      public ItemShears()
    • ItemShears

      public ItemShears(Integer meta)
    • ItemShears

      public ItemShears(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:
    • isShears

      public boolean isShears()
      Description copied from class: Item
      定义物品是否为剪刀

      Define if the item is a Shears

      Overrides:
      isShears in class ItemTool
      Returns: