Interface GrindstoneInventory
Interface to the inventory of a Grindstone.
- Since:
- 1.14
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable ItemStackGets the lower input item.default @Nullable ItemStackGets the result.default @Nullable ItemStackGets the upper input item.default voidsetLowerItem(@Nullable ItemStack lowerItem) Sets the lower input item.default voidSets the result.default voidsetUpperItem(@Nullable ItemStack upperItem) Sets the upper input item.Methods inherited from interface 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, setStorageContentsMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getUpperItem
Gets the upper input item.- Returns:
- upper input item
- Since:
- 1.15.2
-
setUpperItem
Sets the upper input item.- Parameters:
upperItem- item to set- Since:
- 1.15.2
-
getLowerItem
Gets the lower input item.- Returns:
- lower input item
- Since:
- 1.15.2
-
setLowerItem
Sets the lower input item.- Parameters:
lowerItem- item to set- Since:
- 1.15.2
-
getResult
-
setResult
Sets the result.- Parameters:
result- item to set- Since:
- 1.15.2
-