mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-10-01 00:10:47 +00:00
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", "data": 0 } ]
|
||
|
}
|
||
|
},
|
||
|
"has_advanced": {
|
||
|
"trigger": "minecraft:inventory_changed",
|
||
|
"conditions": {
|
||
|
"items": [ { "item": "computercraft:computer", "data": 16384 } ]
|
||
|
}
|
||
|
},
|
||
|
"has_modem": {
|
||
|
"trigger": "minecraft:inventory_changed",
|
||
|
"conditions": {
|
||
|
"items": [ { "item": "computercraft:cable", "data": 1 } ]
|
||
|
}
|
||
|
},
|
||
|
"has_the_recipe": {
|
||
|
"trigger": "minecraft:recipe_unlocked",
|
||
|
"conditions": { "recipe": "computercraft:cable" }
|
||
|
}
|
||
|
},
|
||
|
"requirements": [
|
||
|
[
|
||
|
"has_normal",
|
||
|
"has_advanced",
|
||
|
"has_modem",
|
||
|
"has_the_recipe"
|
||
|
]
|
||
|
]
|
||
|
}
|