mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-13 05:19:59 +00:00
23 lines
636 B
JSON
23 lines
636 B
JSON
|
{
|
||
|
"parent": "minecraft:recipes/root",
|
||
|
"rewards": {
|
||
|
"recipes": [ "computercraft:${path}" ]
|
||
|
},
|
||
|
"criteria": {
|
||
|
"has_items": {
|
||
|
"trigger": "minecraft:inventory_changed",
|
||
|
"conditions": {
|
||
|
"items": [
|
||
|
{ "item": "${turtle_item}", "data": 0 },
|
||
|
{ "item": ${upgrade_item} }
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"has_the_recipe": {
|
||
|
"trigger": "minecraft:recipe_unlocked",
|
||
|
"conditions": { "recipe": "computercraft:${path}" }
|
||
|
}
|
||
|
},
|
||
|
"requirements": [ [ "has_items", "has_the_recipe" ] ]
|
||
|
}
|