From 53c16416c011cfd62f0341cf69968cac39bc9ea0 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 7 Nov 2023 15:42:55 +0000 Subject: [PATCH] Fixed cloud lump recipe --- .../advancements/recipes/cloud_lump.json | 30 +++++++++++++++++++ .../data/unicopia/recipes/cloud_lump.json | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/data/unicopia/advancements/recipes/cloud_lump.json diff --git a/src/main/resources/data/unicopia/advancements/recipes/cloud_lump.json b/src/main/resources/data/unicopia/advancements/recipes/cloud_lump.json new file mode 100644 index 00000000..39ec6b06 --- /dev/null +++ b/src/main/resources/data/unicopia/advancements/recipes/cloud_lump.json @@ -0,0 +1,30 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "unicopia:cloud_lump" + ] + }, + "criteria": { + "has_ingredients": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { "tag": "unicopia:cloud_jars" } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "unicopia:cloud_lump" + } + } + }, + "requirements": [ + [ + "has_ingredients", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/cloud_lump.json b/src/main/resources/data/unicopia/recipes/cloud_lump.json index 6174a53f..6890547d 100644 --- a/src/main/resources/data/unicopia/recipes/cloud_lump.json +++ b/src/main/resources/data/unicopia/recipes/cloud_lump.json @@ -1,7 +1,7 @@ { "type": "minecraft:crafting_shapeless", "ingredients": [ - { "tag": "cloud_jars" } + { "tag": "unicopia:cloud_jars" } ], "result": { "item": "unicopia:cloud_lump", "count": 4 } }