public class ShapedCraftingRecipe_v1_7<I> extends java.lang.Object implements ICraftingRecipe<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>>
| Constructor and Description |
|---|
ShapedCraftingRecipe_v1_7(int width,
int height,
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>[] ingredients,
net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> result) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
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.
|
int |
getWidth() |
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.
|
ShapedCraftingRecipe_v1_7<I> |
setCopyNbt() |
public int getWidth()
public int getHeight()
public net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>[] getIngredients()
public net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I> getResult()
public ShapedCraftingRecipe_v1_7<I> setCopyNbt()
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