Package org.bukkit.inventory
Interface DecoratedPotInventory
Interface to the inventory of a DecoratedPot.
-
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, 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 stack in the decorated pot.- Parameters:
item
- the new item stack
-
getItem
Get the item stack in the decorated pot.- Returns:
- the current item stack
-
getHolder
Description copied from interface:Inventory
Gets the block or entity belonging to the open inventory
-