Package org.bukkit.inventory
Interface GrindstoneInventory
Interface to the inventory of a Grindstone.
-
Method Summary
Modifier and TypeMethodDescriptionGets the lower input item.Gets the result.Gets the upper input item.default void
setLowerItem
(@Nullable ItemStack lowerItem) Sets the lower input item.default void
Sets the result.default void
setUpperItem
(@Nullable ItemStack upperItem) Sets the upper input item.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
-
getUpperItem
Gets the upper input item.- Returns:
- upper input item
-
setUpperItem
Sets the upper input item.- Parameters:
upperItem
- item to set
-
getLowerItem
Gets the lower input item.- Returns:
- lower input item
-
setLowerItem
Sets the lower input item.- Parameters:
lowerItem
- item to set
-
getResult
Gets the result.- Returns:
- result
-
setResult
Sets the result.- Parameters:
result
- item to set
-