public interface CraftingGridInventory extends GridInventory
Inventory.Builder
Modifier and Type | Method and Description |
---|---|
Optional<CraftingRecipe> |
getRecipe(World world)
Retrieves the recipe formed by this CraftingGridInventory, if any.
|
getColumn, getColumns, getDimensions, getRow, getRows, getSlot, peek, peek, poll, poll, set
getSlot, peek, peek, poll, poll, set
getSlot, peek, peek, poll, poll, set
builder, canFit, capacity, clear, contains, contains, containsAny, containsInventory, first, getArchetype, getInventoryProperty, getInventoryProperty, getMaxStackSize, getPlugin, getProperties, getProperties, getProperty, getProperty, hasChildren, intersect, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, queryAny, root, set, setMaxStackSize, size, slots, totalItems, transform, union
forEach, iterator, spliterator
Optional<CraftingRecipe> getRecipe(World world)
world
- The world where the item would be crafted inOptional.empty()
if no recipe is formed