Class ItemBed

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

public class ItemBed extends Item
Author:
MagicDroidX (Nukkit Project)
  • Constructor Details

    • ItemBed

      public ItemBed()
    • ItemBed

      public ItemBed(Integer meta)
    • ItemBed

      public ItemBed(Integer meta, int count)
  • Method Details

    • setDamage

      public void setDamage(Integer meta)
      Overrides:
      setDamage in class Item
    • getMaxStackSize

      public int getMaxStackSize()
      Description copied from class: Item
      定义物品堆叠的最大数量

      Define the maximum number of items to be stacked

      Overrides:
      getMaxStackSize in class Item
      Returns: