public class ShapelessCraftingRecipe_v1_7<I> extends java.lang.Object implements ICraftingRecipe<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>>
| Constructor and Description |
|---|
ShapelessCraftingRecipe_v1_7(net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>[] ingredients,
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> result) |
| Modifier and Type | Method and Description |
|---|---|
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>[] |
getIngredients() |
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> |
getResult() |
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> |
getResult(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry,
ICraftingInventory<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> craftingInventory)
Get the result of the crafting recipe.
|
boolean |
matches(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry,
ICraftingInventory<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> craftingInventory)
Check if the crafting recipe matches the given input.
|
public net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>[] getIngredients()
public net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> getResult()
public boolean matches(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry, ICraftingInventory<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> craftingInventory)
ICraftingRecipematches in interface ICraftingRecipe<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>>itemRegistry - The item registrycraftingInventory - The crafting inventorypublic net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> getResult(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry, ICraftingInventory<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> craftingInventory)
ICraftingRecipegetResult in interface ICraftingRecipe<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>>itemRegistry - The item registrycraftingInventory - The crafting inventory