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, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, 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.
-