mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-24 05:47:59 +01:00
Added spellbook and alicorn amulet recipes
This commit is contained in:
parent
57d43c8413
commit
10af9e6f49
3 changed files with 51 additions and 0 deletions
|
@ -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"
|
||||
]
|
||||
]
|
||||
}
|
13
src/main/resources/data/unicopia/recipes/alicorn_amulet.json
Normal file
13
src/main/resources/data/unicopia/recipes/alicorn_amulet.json
Normal file
|
@ -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"
|
||||
}
|
||||
}
|
8
src/main/resources/data/unicopia/recipes/spellbook.json
Normal file
8
src/main/resources/data/unicopia/recipes/spellbook.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
{ "item": "unicopia:gemstone" },
|
||||
{ "item": "minecraft:book" }
|
||||
],
|
||||
"result": { "item": "unicopia:spellbook" }
|
||||
}
|
Loading…
Reference in a new issue