mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-09 19:39:59 +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.
11 lines
380 B
JSON
11 lines
380 B
JSON
{
|
|
"type": "computercraft:impostor_shapeless",
|
|
"group": "computercraft:disk",
|
|
"ingredients": [
|
|
{ "type": "forge:ore_dict", "ore": "dustRedstone" },
|
|
{ "type": "forge:ore_dict", "ore": "paper" },
|
|
{ "item": "minecraft:dye", "data": ${dye} }
|
|
],
|
|
"result": { "item": "computercraft:disk_expanded", "data": 0, "nbt": { "color": ${colour} } }
|
|
}
|