public interface CraftingInventory extends GridInventory
Modifier and Type | Method and Description |
---|---|
GridInventory |
getCraftingGrid()
Gets the crafting matrix of this CraftingInventory.
|
Optional<Recipe> |
getRecipe()
Retrieves the recipe formed by this CraftingInventory, if any.
|
CraftingOutput |
getResult()
Gets the result slot of this CraftingInventory.
|
getColumn, getColumns, getDimensions, getRow, getRows, getSlot, peek, peek, poll, poll, set
getSlot, peek, peek, poll, poll, set
getSlot, peek, peek, poll, poll, set
capacity, clear, contains, contains, first, getMaxStackSize, getProperties, getProperties, getProperty, getProperty, isEmpty, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, set, setMaxStackSize, size, slots, totalItems
forEach, iterator, spliterator
GridInventory getCraftingGrid()
CraftingOutput getResult()
Optional<Recipe> getRecipe()
Optional.absent()
if no recipe is formed