Crafting Table Moveable Shaped Recipe (I explain this better in the issue itself)
ALPHANUMERIC1 opened this issue ยท 2 comments
Feature request name
Crafting Table Movable Shaped Recipe
Feature request description
Say I was trying to make Spooky Biomes planks create 4 sticks and I wanted to shorten the file. Here's how you would add the recipes normally:
recipes.addShaped(<minecraft:stick> * 4, [[<spookybiomes:ghostly_planks>, null, null],[<spookybiomes:witchwood_planks>, null, null], [null, null, null]]);
recipes.addShaped(<minecraft:stick> * 4, [[null, <spookybiomes:ghostly_planks>, null],[null, <spookybiomes:witchwood_planks>, null], [null, null, null]]);
recipes.addShaped(<minecraft:stick> * 4, [[null, null, <spookybiomes:ghostly_planks>],[null, null,<spookybiomes:witchwood_planks>], [null, null, null]]);
recipes.addShaped(<minecraft:stick> * 4, [[null, null, null],[<spookybiomes:ghostly_planks>, null, null], [<spookybiomes:witchwood_planks>, null, null]]);
recipes.addShaped(<minecraft:stick> * 4, [[null, <null, null],[null, <spookybiomes:ghostly_planks>, null], [null,<spookybiomes:witchwood_planks>, null]]);
recipes.addShaped(<minecraft:stick> * 4, [[null, null, null],[null, null,<spookybiomes:ghostly_planks>], [null, null,<spookybiomes:witchwood_planks>]]);
If you were clever, you could try to use Mirrored recipes, but that's confusing to keep track of in itself and often leads to redundancy. Is there a way to add shaped recipes that can be moved across the Crafting Table?
Example of how it might work: recipes.addShapedMoveable(<minecraft:stick> * 4, [[<spookybiomes:ghostly_planks>, null, null],[<spookybiomes:witchwood_planks>, null, null], [null, null, null]]);
Feature request reason
This would be useful because it'd make it easier to make recipes that can be moved to different places across the crafting table such as the recipe for sticks.
Feature request dependencies
I don't believe it would require any dependencies, though it would be useful with or without other mods.
If you just do,
recipes.addShaped(output, [[input1], [input2]]);
It will do what you want.