Class ItemWarpedFungusOnAStick

java.lang.Object
cn.nukkit.item.Item
cn.nukkit.item.ItemTool
cn.nukkit.item.ItemWarpedFungusOnAStick
All Implemented Interfaces:
BlockID, ItemDurable, ItemID, Cloneable

@Since("1.4.0.0-PN") public class ItemWarpedFungusOnAStick extends ItemTool
Since:
2021-02-16
Author:
joserobjr
  • Constructor Details

    • ItemWarpedFungusOnAStick

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

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

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

    • getMaxStackSize

      public int getMaxStackSize()
      Overrides:
      getMaxStackSize in class ItemTool
    • getMaxDurability

      public int getMaxDurability()
      Overrides:
      getMaxDurability in class Item
    • noDamageOnBreak

      public boolean noDamageOnBreak()
      Description copied from class: ItemTool
      No damage to item when it's used to break blocks
      Overrides:
      noDamageOnBreak in class ItemTool
      Returns:
      whether the item should take damage when used to break blocks