mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-09-29 15:30:48 +00:00
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
|
{
|
||
|
"parent": "minecraft:recipes/root",
|
||
|
"rewards": {
|
||
|
"recipes": [ "computercraft:speaker" ]
|
||
|
},
|
||
|
"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_noteblock": {
|
||
|
"trigger": "minecraft:inventory_changed",
|
||
|
"conditions": {
|
||
|
"items": [ { "item": "minecraft:noteblock" } ]
|
||
|
}
|
||
|
},
|
||
|
"has_the_recipe": {
|
||
|
"trigger": "minecraft:recipe_unlocked",
|
||
|
"conditions": { "recipe": "computercraft:speaker" }
|
||
|
}
|
||
|
},
|
||
|
"requirements": [
|
||
|
[
|
||
|
"has_normal",
|
||
|
"has_advanced",
|
||
|
"has_noteblock",
|
||
|
"has_the_recipe"
|
||
|
]
|
||
|
]
|
||
|
}
|