Instruction Recipes are introduced in Lucraft: Core 2.0 and can be easily added with addonpacks. Here is an example of a recipe for a Prismarine Shard:
{
"output": {
"item": "minecraft:prismarine_shard"
},
"requirements": [
{
"item": "minecraft:dye",
"data": 12
},
{
"item": "minecraft:leather",
"amount": 5
}
]
}
While output only needs one item, requirements is an array of item. You can add as many required items as you want.
Your recipe will be added as an Instruction item. If you want to use/find that item in survival mode I suggest using vanilla's way of customizing recipes and loot tables. You can specify an Instruction item with your recipe like this:
{
"item": "lucraftcore:instruction",
"amount": 1,
"tag": "{Recipes:["your_namespace:yourrecipe"]}"
}
your_namespace:yourrecipe has to be the resource location of your recipe.
If your recipe is located in assets/test/instructionrecipes/recipe.json the resource location is test:recipe.
If you put your recipe in sub-folder it behaves like this: assets/test/instructionrecipes/folder1/folder2/recipe.json becomes test:folder1/folder2/recipe.
