From 9affe6987b72619b7d17b794a1777e239f3e42dd Mon Sep 17 00:00:00 2001 From: Alguewator Date: Sun, 17 May 2026 14:00:03 -0400 Subject: [PATCH] Added recipes unlocker for builtin recipe book --- .../advancements/recipes/caliper.json | 35 +++++++++++++++++++ .../recipes/fluid_substitution.json | 35 +++++++++++++++++++ .../recipes/light_substitution.json | 35 +++++++++++++++++++ .../advancements/recipes/sceptergold.json | 35 +++++++++++++++++++ .../advancements/recipes/sceptersteel.json | 35 +++++++++++++++++++ .../recipes/solid_substitution.json | 35 +++++++++++++++++++ 6 files changed, 210 insertions(+) create mode 100644 src/main/resources/data/structurize/advancements/recipes/caliper.json create mode 100644 src/main/resources/data/structurize/advancements/recipes/fluid_substitution.json create mode 100644 src/main/resources/data/structurize/advancements/recipes/light_substitution.json create mode 100644 src/main/resources/data/structurize/advancements/recipes/sceptergold.json create mode 100644 src/main/resources/data/structurize/advancements/recipes/sceptersteel.json create mode 100644 src/main/resources/data/structurize/advancements/recipes/solid_substitution.json diff --git a/src/main/resources/data/structurize/advancements/recipes/caliper.json b/src/main/resources/data/structurize/advancements/recipes/caliper.json new file mode 100644 index 000000000..ce3207fd5 --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/caliper.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_iron_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:caliper" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_iron_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:caliper" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/structurize/advancements/recipes/fluid_substitution.json b/src/main/resources/data/structurize/advancements/recipes/fluid_substitution.json new file mode 100644 index 000000000..2ece560af --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/fluid_substitution.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_iron_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:fluid_substitution" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_iron_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:fluid_substitution" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/structurize/advancements/recipes/light_substitution.json b/src/main/resources/data/structurize/advancements/recipes/light_substitution.json new file mode 100644 index 000000000..23a56bebc --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/light_substitution.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_iron_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:light_substitution" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_iron_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:light_substitution" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/structurize/advancements/recipes/sceptergold.json b/src/main/resources/data/structurize/advancements/recipes/sceptergold.json new file mode 100644 index 000000000..ea47bc279 --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/sceptergold.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_cobblestone": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:cobblestone" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:sceptergold" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_cobblestone", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:sceptergold" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/structurize/advancements/recipes/sceptersteel.json b/src/main/resources/data/structurize/advancements/recipes/sceptersteel.json new file mode 100644 index 000000000..eb16b9b09 --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/sceptersteel.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_iron_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:sceptersteel" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_iron_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:sceptersteel" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/structurize/advancements/recipes/solid_substitution.json b/src/main/resources/data/structurize/advancements/recipes/solid_substitution.json new file mode 100644 index 000000000..b4bce7b88 --- /dev/null +++ b/src/main/resources/data/structurize/advancements/recipes/solid_substitution.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_iron_ingot": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "structurize:solid_substitution" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_iron_ingot", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "structurize:solid_substitution" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file