1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-31 21:52:59 +00:00

Turtle flags

- Add a new recipe type for turtle overlays, and recipe generator
   support for this recipe.
 - Add trans and rainbow flags.
 - Exclude .license files from the generated jar. I'm not thrilled on
   the whole .license file system, but it's kinda the easiest way.
 - Regenerate data. Yes, this is 90% of the commit :D.
This commit is contained in:
Jonathan Coates
2023-03-31 18:14:44 +01:00
parent a9547d1d6f
commit 081953655c
33 changed files with 522 additions and 4 deletions

View File

@@ -196,8 +196,6 @@
"itemGroup.computercraft": "ComputerCraft",
"tracking_field.computercraft.avg": "%s (avg)",
"tracking_field.computercraft.computer_tasks.name": "Tasks",
"tracking_field.computercraft.coroutines_created.name": "Coroutines created",
"tracking_field.computercraft.coroutines_dead.name": "Coroutines disposed",
"tracking_field.computercraft.count": "%s (count)",
"tracking_field.computercraft.fs.name": "Filesystem operations",
"tracking_field.computercraft.http_download.name": "HTTP download",

View File

@@ -0,0 +1,16 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_dye": {"conditions": {"items": [{"tag": "forge:dyes"}]}, "trigger": "minecraft:inventory_changed"},
"has_the_recipe": {
"conditions": {"recipe": "computercraft:turtle_advanced_overlays/turtle_rainbow_overlay"},
"trigger": "minecraft:recipe_unlocked"
},
"has_turtle": {
"conditions": {"items": [{"items": ["computercraft:turtle_advanced"]}]},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [["has_turtle", "has_dye", "has_the_recipe"]],
"rewards": {"recipes": ["computercraft:turtle_advanced_overlays/turtle_rainbow_overlay"]}
}

View File

@@ -0,0 +1,16 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_dye": {"conditions": {"items": [{"tag": "forge:dyes"}]}, "trigger": "minecraft:inventory_changed"},
"has_the_recipe": {
"conditions": {"recipe": "computercraft:turtle_advanced_overlays/turtle_trans_overlay"},
"trigger": "minecraft:recipe_unlocked"
},
"has_turtle": {
"conditions": {"items": [{"items": ["computercraft:turtle_advanced"]}]},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [["has_turtle", "has_dye", "has_the_recipe"]],
"rewards": {"recipes": ["computercraft:turtle_advanced_overlays/turtle_trans_overlay"]}
}

View File

@@ -0,0 +1,16 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_dye": {"conditions": {"items": [{"tag": "forge:dyes"}]}, "trigger": "minecraft:inventory_changed"},
"has_the_recipe": {
"conditions": {"recipe": "computercraft:turtle_normal_overlays/turtle_rainbow_overlay"},
"trigger": "minecraft:recipe_unlocked"
},
"has_turtle": {
"conditions": {"items": [{"items": ["computercraft:turtle_normal"]}]},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [["has_turtle", "has_dye", "has_the_recipe"]],
"rewards": {"recipes": ["computercraft:turtle_normal_overlays/turtle_rainbow_overlay"]}
}

View File

@@ -0,0 +1,16 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_dye": {"conditions": {"items": [{"tag": "forge:dyes"}]}, "trigger": "minecraft:inventory_changed"},
"has_the_recipe": {
"conditions": {"recipe": "computercraft:turtle_normal_overlays/turtle_trans_overlay"},
"trigger": "minecraft:recipe_unlocked"
},
"has_turtle": {
"conditions": {"items": [{"items": ["computercraft:turtle_normal"]}]},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [["has_turtle", "has_dye", "has_the_recipe"]],
"rewards": {"recipes": ["computercraft:turtle_normal_overlays/turtle_trans_overlay"]}
}

View File

@@ -0,0 +1,17 @@
{
"type": "computercraft:turtle_overlay",
"category": "redstone",
"group": "computercraft:turtle_advanced_overlay",
"ingredients": [
{"tag": "forge:dyes/red"},
{"tag": "forge:dyes/orange"},
{"tag": "forge:dyes/yellow"},
{"tag": "forge:dyes/green"},
{"tag": "forge:dyes/blue"},
{"tag": "forge:dyes/purple"},
{"item": "minecraft:stick"},
{"item": "computercraft:turtle_advanced"}
],
"overlay": "computercraft:block/turtle_rainbow_overlay",
"result": {"item": "computercraft:turtle_advanced"}
}

View File

@@ -0,0 +1,14 @@
{
"type": "computercraft:turtle_overlay",
"category": "redstone",
"group": "computercraft:turtle_advanced_overlay",
"ingredients": [
{"tag": "forge:dyes/light_blue"},
{"tag": "forge:dyes/pink"},
{"tag": "forge:dyes/white"},
{"item": "minecraft:stick"},
{"item": "computercraft:turtle_advanced"}
],
"overlay": "computercraft:block/turtle_trans_overlay",
"result": {"item": "computercraft:turtle_advanced"}
}

View File

@@ -0,0 +1,17 @@
{
"type": "computercraft:turtle_overlay",
"category": "redstone",
"group": "computercraft:turtle_normal_overlay",
"ingredients": [
{"tag": "forge:dyes/red"},
{"tag": "forge:dyes/orange"},
{"tag": "forge:dyes/yellow"},
{"tag": "forge:dyes/green"},
{"tag": "forge:dyes/blue"},
{"tag": "forge:dyes/purple"},
{"item": "minecraft:stick"},
{"item": "computercraft:turtle_normal"}
],
"overlay": "computercraft:block/turtle_rainbow_overlay",
"result": {"item": "computercraft:turtle_normal"}
}

View File

@@ -0,0 +1,14 @@
{
"type": "computercraft:turtle_overlay",
"category": "redstone",
"group": "computercraft:turtle_normal_overlay",
"ingredients": [
{"tag": "forge:dyes/light_blue"},
{"tag": "forge:dyes/pink"},
{"tag": "forge:dyes/white"},
{"item": "minecraft:stick"},
{"item": "computercraft:turtle_normal"}
],
"overlay": "computercraft:block/turtle_trans_overlay",
"result": {"item": "computercraft:turtle_normal"}
}