diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/cell.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/cell.json new file mode 100644 index 000000000..e7ec0e860 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/cell.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/cell" + ] + }, + "criteria": { + "has_tin_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:tin_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/cell" + } + } + }, + "requirements": [ + [ + "has_tin_ingot", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/frequency_transmitter.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/frequency_transmitter.json new file mode 100644 index 000000000..b03bf03e9 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/frequency_transmitter.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/frequency_transmitter" + ] + }, + "criteria": { + "has_circuit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:electronic_circuit"] + } + ] + } + }, + "has_cable": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:insulated_gold_cable"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/frequency_transmitter" + } + } + }, + "requirements": [ + [ + "has_circuit", + "has_cable", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/manual.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/manual.json new file mode 100644 index 000000000..9569b3778 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/manual.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/manual" + ] + }, + "criteria": { + "has_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:refined_iron_ingot"] + } + ] + } + }, + "has_book": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:book"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/manual" + } + } + }, + "requirements": [ + [ + "has_ingot", + "has_book", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/paper.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/paper.json new file mode 100644 index 000000000..dc873eea7 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/paper.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/paper" + ] + }, + "criteria": { + "has_saw_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:saw_dusts" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/paper" + } + } + }, + "requirements": [ + [ + "has_saw_dust", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/scrap_box.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/scrap_box.json new file mode 100644 index 000000000..d27c9d387 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/scrap_box.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/scrap_box" + ] + }, + "criteria": { + "has_scrap": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:scrap"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/scrap_box" + } + } + }, + "requirements": [ + [ + "has_scrap", + "has_the_recipe" + ] + ] +} \ No newline at end of file