接口 DecoratedPotInventory
装饰陶罐物品栏的接口。
-
方法概要
从接口继承的方法 org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
方法详细资料
-
setItem
设置装饰陶罐中的物品堆。原文:Set the item stack in the decorated pot.
- 参数:
item- 新的物品堆
-
getItem
获取装饰陶罐中的物品堆。原文:Get the item stack in the decorated pot.
- 返回:
- 当前物品堆
-
getHolder
从接口复制的说明:Inventory获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-