接口 BeaconInventory
信标的背包界面接口
-
方法概要
从接口继承的方法 org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
方法详细资料
-
setItem
设置信标内的物品.原文: Set the item powering the beacon.
- 参数:
item
- 新的物品.
-
getItem
ItemStack getItem()返回信标内的物品.原文: Get the item powering the beacon.
- 返回:
- 物品
-