mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-28 08:03:21 +00:00
86569533e9
- Normalise all line endings to be LF rather than CLRF - Trim all trailing whitespace - Remove any tabs
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"computercraft:wired_modem",
|
|
"computercraft:wired_modem_full_to",
|
|
"computercraft:wired_modem_full_from"
|
|
]
|
|
},
|
|
"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_cable": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [ { "item": "computercraft:cable", "data": 0 } ]
|
|
}
|
|
},
|
|
"has_modem_full": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [ { "item": "computercraft:wired_modem_full", "data": 0 } ]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": { "recipe": "computercraft:wired_modem" }
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_normal",
|
|
"has_advanced",
|
|
"has_cable",
|
|
"has_modem_full",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
}
|