diff --git a/src/main/resources/data/unicopia/advancements/recipes/spellbook.json b/src/main/resources/data/unicopia/advancements/recipes/spellbook.json new file mode 100644 index 00000000..d58c3f43 --- /dev/null +++ b/src/main/resources/data/unicopia/advancements/recipes/spellbook.json @@ -0,0 +1,30 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "unicopia:spellbook" + ] + }, + "criteria": { + "has_ingredients": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { "items": [ "unicopia:gemstone" ] } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "unicopia:spellbook" + } + } + }, + "requirements": [ + [ + "has_ingredients", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/alicorn_amulet.json b/src/main/resources/data/unicopia/recipes/alicorn_amulet.json new file mode 100644 index 00000000..5196047d --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/alicorn_amulet.json @@ -0,0 +1,13 @@ +{ + "type": "unicopia:spellbook/crafting", + "material": { + "item": { "item": "unicopia:gemstone" }, + "spell": "unicopia:dark_vortex" + }, + "traits": { + "darkness": 30, "power": 30, "blood": 30 + }, + "result": { + "item": "unicopia:alicorn_amulet" + } +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/spellbook.json b/src/main/resources/data/unicopia/recipes/spellbook.json new file mode 100644 index 00000000..35b9a050 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/spellbook.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { "item": "unicopia:gemstone" }, + { "item": "minecraft:book" } + ], + "result": { "item": "unicopia:spellbook" } +}