diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotron_crystal.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotron_crystal.json new file mode 100644 index 000000000..bbe72aa46 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotron_crystal.json @@ -0,0 +1,54 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/battery/lapotron_crystal" + ] + }, + "criteria": { + "has_industrial_circuit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:industrial_circuit"] + } + ] + } + }, + "has_energy_crystal": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:energy_crystal"] + } + ] + } + }, + "has_lazurite_plate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:lazurite_plates" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/battery/lapotron_crystal" + } + } + }, + "requirements": [ + [ + "has_industrial_circuit", + "has_energy_crystal", + "has_lazurite_plate", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotronic_orb.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotronic_orb.json new file mode 100644 index 000000000..3bea08be9 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/lapotronic_orb.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/battery/lapotronic_orb" + ] + }, + "criteria": { + "has_lapotron_crystal": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:lapotron_crystal"] + } + ] + } + }, + "has_iridium_alloy_plate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:iridium_alloy_plates" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/battery/lapotronic_orb" + } + } + }, + "requirements": [ + [ + "has_lapotron_crystal", + "has_iridium_alloy_plate", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/red_cell_battery.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/red_cell_battery.json new file mode 100644 index 000000000..4a3bf9359 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/battery/red_cell_battery.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/battery/red_cell_battery" + ] + }, + "criteria": { + "has_insulated_copper_cable": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:insulated_copper_cable"] + } + ] + } + }, + "has_lead_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:lead_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/battery/red_cell_battery" + } + } + }, + "requirements": [ + [ + "has_insulated_copper_cable", + "has_lead_ingot", + "has_the_recipe" + ] + ] +} \ No newline at end of file