39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [ "computercraft:cable" ]
|
|
},
|
|
"criteria": {
|
|
"has_normal": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [ { "item": "computercraft:computer_normal" } ]
|
|
}
|
|
},
|
|
"has_advanced": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [ { "item": "computercraft:computer_advanced" } ]
|
|
}
|
|
},
|
|
"has_modem": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [ { "item": "computercraft:cable" } ]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": { "recipe": "computercraft:cable" }
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_normal",
|
|
"has_advanced",
|
|
"has_modem",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
}
|