接口 JukeboxInventory
Interface to the inventory of a Jukebox.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
setRecord
Set the record in the jukebox.This will immediately start playing the inserted item or stop playing if the item provided is null.
- 参数:
item
- the new record
-
getRecord
Get the record in the jukebox.- 返回:
- the current record
-
getHolder
从接口复制的说明:Inventory
获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-