From 4bbace58bc0789dac10402e0c4a7fecabefa9e19 Mon Sep 17 00:00:00 2001 From: Ayutac Date: Sat, 18 Dec 2021 16:20:22 +0100 Subject: [PATCH] Added byg compatibility recipe advancements --- .../recipes/byg_compat/ametrine_gem.json | 33 +++++++++++++++++++ .../recipes/byg_compat/anthracite.json | 33 +++++++++++++++++++ .../byg_compat/coal_dust_from_anthracite.json | 33 +++++++++++++++++++ .../byg_compat/coal_dust_from_lignite.json | 33 +++++++++++++++++++ .../recipes/byg_compat/lignite.json | 33 +++++++++++++++++++ .../recipes/byg_compat/pendorite_scraps.json | 33 +++++++++++++++++++ 6 files changed, 198 insertions(+) create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/ametrine_gem.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/anthracite.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_anthracite.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_lignite.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/lignite.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/byg_compat/pendorite_scraps.json diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/ametrine_gem.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/ametrine_gem.json new file mode 100644 index 000000000..d20dd3de5 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/ametrine_gem.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/ametrine_gem" + ] + }, + "criteria": { + "has_ametrine_ore": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:ametrine_ore"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/ametrine_gem" + } + } + }, + "requirements": [ + [ + "has_ametrine_ore", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/anthracite.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/anthracite.json new file mode 100644 index 000000000..ccaed6129 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/anthracite.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/anthracite" + ] + }, + "criteria": { + "has_anthracite_ore": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:anthracite_ore"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/anthracite" + } + } + }, + "requirements": [ + [ + "has_anthracite_ore", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_anthracite.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_anthracite.json new file mode 100644 index 000000000..d3c0a218d --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_anthracite.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/coal_dust_from_anthracite" + ] + }, + "criteria": { + "has_anthracite": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:anthracite"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/coal_dust_from_anthracite" + } + } + }, + "requirements": [ + [ + "has_anthracite", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_lignite.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_lignite.json new file mode 100644 index 000000000..5336f58d4 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/coal_dust_from_lignite.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/coal_dust_from_lignite" + ] + }, + "criteria": { + "has_lignite": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:lignite"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/coal_dust_from_lignite" + } + } + }, + "requirements": [ + [ + "has_lignite", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/lignite.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/lignite.json new file mode 100644 index 000000000..a1c68e964 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/lignite.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/lignite" + ] + }, + "criteria": { + "has_lignite_ore": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:lignite_ore"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/lignite" + } + } + }, + "requirements": [ + [ + "has_lignite_ore", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/byg_compat/pendorite_scraps.json b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/pendorite_scraps.json new file mode 100644 index 000000000..11ca4ad46 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/byg_compat/pendorite_scraps.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:byg_compat/pendorite_scraps" + ] + }, + "criteria": { + "has_pendorite_ore": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "reborncore:mod": "byg", + "items": [ + { + "items": ["byg:pendorite_ore"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:byg_compat/pendorite_scraps" + } + } + }, + "requirements": [ + [ + "has_pendorite_ore", + "has_the_recipe" + ] + ] +} \ No newline at end of file