1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +00:00
CC-Tweaked/tools/pocket_upgrade_advancement.json

23 lines
659 B
JSON
Raw Normal View History

{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [ "computercraft:${path}" ]
},
"criteria": {
"has_items": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{ "item": "computercraft:pocket_computer_${pocket_family}" },
{ "item": "${upgrade_item}" }
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": { "recipe": "computercraft:${path}" }
}
},
"requirements": [ [ "has_items", "has_the_recipe" ] ]
}