mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-05 17:46:21 +00:00
810258e9b8
- Languages are converted to JSON - Rename most *(_advanced) blocks to *_{advanced,normal}. It's more verbose, but means they're sorted together. - A couple of changes to the ROM to work with some Java changes. - Update recipes and advancements to not use damage values.
23 lines
659 B
JSON
23 lines
659 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [ "computercraft:${path}" ]
|
|
},
|
|
"criteria": {
|
|
"has_items": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{ "item": "computercraft:pocket_computer_${pocket_family}" },
|
|
{ "item": "${upgrade_item}" }
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": { "recipe": "computercraft:${path}" }
|
|
}
|
|
},
|
|
"requirements": [ [ "has_items", "has_the_recipe" ] ]
|
|
}
|