Interface DecoratedPotInventory
Interface to the inventory of a DecoratedPot.
-
Method Summary
Methods inherited from interface 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 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:InventoryGets the block or entity belonging to the open inventory
-