Update some unlock conditions for certain recipes

This commit is contained in:
Sollace 2022-10-12 15:46:28 +02:00
parent 6db30ff693
commit ea9b0a02d6
3 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,8 @@
"parent": "minecraft:recipes/root", "parent": "minecraft:recipes/root",
"rewards": { "rewards": {
"recipes": [ "recipes": [
"unicopia:cider" "unicopia:cider",
"unicopia:easy_cider"
] ]
}, },
"criteria": { "criteria": {
@ -19,12 +20,15 @@
"conditions": { "conditions": {
"recipe": "unicopia:cider" "recipe": "unicopia:cider"
} }
},
"has_the_easy_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "unicopia:easy_cider"
}
} }
}, },
"requirements": [ "requirements": [
[ [ "has_ingredients", "has_the_recipe", "has_the_easy_recipe" ]
"has_ingredients",
"has_the_recipe"
]
] ]
} }

View file

@ -10,7 +10,7 @@
"trigger": "minecraft:inventory_changed", "trigger": "minecraft:inventory_changed",
"conditions": { "conditions": {
"items": [ "items": [
{ "items": [ "minecraft:leather" ] } { "items": [ "minecraft:leather", "minecraft:string" ] }
] ]
} }
}, },

View file

@ -10,7 +10,7 @@
"trigger": "minecraft:inventory_changed", "trigger": "minecraft:inventory_changed",
"conditions": { "conditions": {
"items": [ "items": [
{ "items": [ "unicopia:gemstone" ] } { "items": [ "unicopia:gemstone", "unicopia:botched_gem" ] }
] ]
} }
}, },