From 9a2dfd746e456337a223cccd0e55ead03ff13e50 Mon Sep 17 00:00:00 2001 From: Ayutac Date: Sun, 2 Jan 2022 21:51:13 +0100 Subject: [PATCH] Added toasts for crafting_table/solar_panel --- .../solar_panel/advanced_solar_panel.json | 32 ++++++++++++++ .../solar_panel/advanced_solar_panel_alt.json | 32 ++++++++++++++ .../solar_panel/basic_solar_panel.json | 32 ++++++++++++++ .../solar_panel/industrial_solar_panel.json | 32 ++++++++++++++ .../industrial_solar_panel_alt.json | 32 ++++++++++++++ .../solar_panel/quantum_solar_panel.json | 43 +++++++++++++++++++ .../solar_panel/ultimate_solar_panel.json | 32 ++++++++++++++ .../solar_panel/ultimate_solar_panel_alt.json | 32 ++++++++++++++ 8 files changed, 267 insertions(+) create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel_alt.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/basic_solar_panel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel_alt.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/quantum_solar_panel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel_alt.json diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel.json new file mode 100644 index 000000000..02921d2e3 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/advanced_solar_panel" + ] + }, + "criteria": { + "has_basic_solar_panel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:basic_solar_panel"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/advanced_solar_panel" + } + } + }, + "requirements": [ + [ + "has_basic_solar_panel", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel_alt.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel_alt.json new file mode 100644 index 000000000..e1aae6aa7 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/advanced_solar_panel_alt.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/advanced_solar_panel_alt" + ] + }, + "criteria": { + "has_basic_machine_frame": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:basic_machine_frame"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/advanced_solar_panel_alt" + } + } + }, + "requirements": [ + [ + "has_basic_machine_frame", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/basic_solar_panel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/basic_solar_panel.json new file mode 100644 index 000000000..ca92136a3 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/basic_solar_panel.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/basic_solar_panel" + ] + }, + "criteria": { + "has_solid_fuel_generator": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:solid_fuel_generator"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/basic_solar_panel" + } + } + }, + "requirements": [ + [ + "has_solid_fuel_generator", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel.json new file mode 100644 index 000000000..c240394bc --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/industrial_solar_panel" + ] + }, + "criteria": { + "has_advanced_solar_panel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:advanced_solar_panel"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/industrial_solar_panel" + } + } + }, + "requirements": [ + [ + "has_advanced_solar_panel", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel_alt.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel_alt.json new file mode 100644 index 000000000..c68da83dc --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/industrial_solar_panel_alt.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/industrial_solar_panel_alt" + ] + }, + "criteria": { + "has_advanced_circuit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:advanced_circuit"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/industrial_solar_panel_alt" + } + } + }, + "requirements": [ + [ + "has_advanced_circuit", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/quantum_solar_panel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/quantum_solar_panel.json new file mode 100644 index 000000000..11ff2b80f --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/quantum_solar_panel.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/quantum_solar_panel" + ] + }, + "criteria": { + "has_ultimate_solar_panel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:ultimate_solar_panel"] + } + ] + } + }, + "has_uu_matter": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:uu_matter"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/quantum_solar_panel" + } + } + }, + "requirements": [ + [ + "has_ultimate_solar_panel", + "has_uu_matter", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel.json new file mode 100644 index 000000000..9a0d83bfe --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/ultimate_solar_panel" + ] + }, + "criteria": { + "has_industrial_solar_panel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:industrial_solar_panel"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/ultimate_solar_panel" + } + } + }, + "requirements": [ + [ + "has_industrial_solar_panel", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel_alt.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel_alt.json new file mode 100644 index 000000000..e61b2d120 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/solar_panel/ultimate_solar_panel_alt.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/solar_panel/ultimate_solar_panel_alt" + ] + }, + "criteria": { + "has_advanced_machine_frame": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:advanced_machine_frame"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/solar_panel/ultimate_solar_panel_alt" + } + } + }, + "requirements": [ + [ + "has_advanced_machine_frame", + "has_the_recipe" + ] + ] +} \ No newline at end of file