From c2fa34c92bb6265dd2a773b696f5d5bcc99857f6 Mon Sep 17 00:00:00 2001 From: Ayutac Date: Thu, 10 Feb 2022 08:50:28 +0100 Subject: [PATCH] Added toast for new vacuum freezer recipe --- .../recipes/vacuum_freezer/blue_ice.json | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/main/resources/data/techreborn/advancements/recipes/vacuum_freezer/blue_ice.json diff --git a/src/main/resources/data/techreborn/advancements/recipes/vacuum_freezer/blue_ice.json b/src/main/resources/data/techreborn/advancements/recipes/vacuum_freezer/blue_ice.json new file mode 100644 index 000000000..bef1dca8f --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/vacuum_freezer/blue_ice.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:vacuum_freezer/blue_ice" + ] + }, + "criteria": { + "has_packed_ice": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:packed_ice"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:vacuum_freezer/blue_ice" + } + } + }, + "requirements": [ + [ + "has_packed_ice", + "has_the_recipe" + ] + ] +} \ No newline at end of file