public class ExtendMapCraftingRecipe_v1_7<I> extends ShapedCraftingRecipe_v1_7<I>
| Constructor and Description |
|---|
ExtendMapCraftingRecipe_v1_7(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry,
java.util.function.Function<net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>,java.lang.Integer> mapScaleProvider) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getHeight, getIngredients, getResult, getWidth, setCopyNbtpublic ExtendMapCraftingRecipe_v1_7(net.lenni0451.mcstructs.items.ItemRegistry<I,net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>> itemRegistry, java.util.function.Function<net.lenni0451.mcstructs.items.stacks.LegacyItemStack<I>,java.lang.Integer> mapScaleProvider)
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>>matches in class ShapedCraftingRecipe_v1_7<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>>getResult in class ShapedCraftingRecipe_v1_7<I>itemRegistry - The item registrycraftingInventory - The crafting inventory