I - The type of the item (e.g. Integer)S - The type of the item stack (e.g. LegacyItemStack)public interface ICraftingRecipe<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>
| Modifier and Type | Method and Description |
|---|---|
S |
getResult(net.lenni0451.mcstructs.items.ItemRegistry<I,S> itemRegistry,
ICraftingInventory<I,S> craftingInventory)
Get the result of the crafting recipe.
|
boolean |
matches(net.lenni0451.mcstructs.items.ItemRegistry<I,S> itemRegistry,
ICraftingInventory<I,S> craftingInventory)
Check if the crafting recipe matches the given input.
|
boolean matches(net.lenni0451.mcstructs.items.ItemRegistry<I,S> itemRegistry, ICraftingInventory<I,S> craftingInventory)
itemRegistry - The item registrycraftingInventory - The crafting inventory