Package org.bukkit.inventory
Interface BeaconInventory
Interface to the inventory of a Beacon.
-
Method Summary
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
setItem
Set the item powering the beacon.- Parameters:
item
- The new item
-
getItem
Get the item powering the beacon.- Returns:
- The current item.
-