Package org.bukkit.inventory
Interface JukeboxInventory
-
Method Summary
Methods inherited from interface 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, setStorageContentsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
setRecord
Set the record in the jukebox.This will immediately start playing the inserted item or stop playing if the item provided is null.
- Parameters:
item- the new record
-
getRecord
-
getHolder
-