Package org.bukkit.inventory
Interface StonecutterInventory
Interface to the inventory of a Stonecutter.
-
Method Summary
Modifier and TypeMethodDescriptionGets the input item.Gets the result item.default voidsetInputItem(@Nullable ItemStack itemStack)Sets the input item.default voidSets the result 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, setStorageContentsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getInputItem
Gets the input item.- Returns:
- input item
-
setInputItem
Sets the input item.- Parameters:
itemStack- item to set
-
getResult
Gets the result item.- Returns:
- result
-
setResult
Sets the result item.- Parameters:
itemStack- item to set
-