mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 03:00:30 +00:00
105c66127c
Previously we would register the recipes within our code, but the advancements were written manually. This now generates JSON files for both the advancement and recipe. While this does mean we're shipping even more JSON, we'll need to do this for 1.13 anyway, and means our advancements are guaranteed to be consistent. On a side note, a couple of other changes: - Turtle upgrades are now mounted on the right in the creative menu/fake recipes. This means the upgrade is now clearly visible in the inventory. - We no longer generate legacy turtle items at all: we'll always construct turtle_expanded. - Several peripheral items are no longer registered as having sub-types (namely advanced and full-block modems). - We only have one disk advancement now, which unlocks all 16 recipes. - We have removed the disk conversion recipes - these can be exposed through JEI if needed.
14 lines
424 B
JSON
14 lines
424 B
JSON
{
|
|
"type": "computercraft:impostor_shaped",
|
|
"group": "computercraft:upgrade_pocket_${pocket_family}",
|
|
"pattern": [
|
|
"#",
|
|
"T"
|
|
],
|
|
"key": {
|
|
"#": { "item": ${upgrade_item} },
|
|
"T": { "item": "computercraft:pocket_computer", "data": ${pocket_data} }
|
|
},
|
|
"result": { "item": "computercraft:pocket_computer", "data": ${pocket_data}, "nbt": { "upgrade": "${upgrade_id}" } }
|
|
}
|