接口 DecoratedPotInventory
Interface to the inventory of a DecoratedPot.
-
方法概要
从接口继承的方法 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
- the new item stack
-
getItem
Get the item stack in the decorated pot.- 返回:
- the current item stack
-
getHolder
从接口复制的说明:Inventory
获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-