diff --git a/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/brass_ingot.json b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/brass_ingot.json new file mode 100644 index 000000000..c9b39998c --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/brass_ingot.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:alloy_smelter/brass_ingot" + ] + }, + "criteria": { + "has_copper": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:copper_ingot"] + } + ] + } + }, + "has_zinc": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:zinc_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:alloy_smelter/brass_ingot" + } + } + }, + "requirements": [ + [ + "has_copper", + "has_zinc", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/bronze_ingot.json b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/bronze_ingot.json new file mode 100644 index 000000000..f91067a65 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/bronze_ingot.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:alloy_smelter/bronze_ingot" + ] + }, + "criteria": { + "has_copper": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:copper_ingot"] + } + ] + } + }, + "has_tin": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:tin_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:alloy_smelter/bronze_ingot" + } + } + }, + "requirements": [ + [ + "has_copper", + "has_tin", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/electrum_ingot.json b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/electrum_ingot.json new file mode 100644 index 000000000..855132a3c --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/electrum_ingot.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:alloy_smelter/electrum_ingot" + ] + }, + "criteria": { + "has_gold": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:gold_ingot"] + } + ] + } + }, + "has_silver": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:silver_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:alloy_smelter/electrum_ingot" + } + } + }, + "requirements": [ + [ + "has_gold", + "has_silver", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/invar_ingot.json b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/invar_ingot.json new file mode 100644 index 000000000..209c87a24 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/alloy_smelter/invar_ingot.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:alloy_smelter/invar_ingot" + ] + }, + "criteria": { + "has_copper": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:iron_ingot"] + } + ] + } + }, + "has_nickel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:nickel_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:alloy_smelter/invar_ingot" + } + } + }, + "requirements": [ + [ + "has_copper", + "has_nickel", + "has_the_recipe" + ] + ] +} \ No newline at end of file