1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 04:00:30 +00:00

Fix computer upgrade recipes

This commit is contained in:
Jonathan Coates 2022-11-21 19:08:23 +00:00
parent 737d8a2585
commit 0fc78acd49
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
5 changed files with 6 additions and 6 deletions

View File

@ -196,7 +196,7 @@ class RecipeProvider {
.pattern("#C#")
.pattern("# #")
.define('#', ingredients.goldIngot())
.define('C', ModRegistry.Items.COMPUTER_ADVANCED.get())
.define('C', ModRegistry.Items.COMPUTER_NORMAL.get())
.unlockedBy("has_components", inventoryChange(itemPredicate(ModRegistry.Items.COMPUTER_NORMAL.get()), itemPredicate(ingredients.goldIngot())))
.save(
RecipeWrapper.wrap(ModRegistry.RecipeSerializers.COMPUTER_UPGRADE.get(), add).withExtraData(family(ComputerFamily.ADVANCED)),
@ -242,7 +242,7 @@ class RecipeProvider {
.pattern("#C#")
.pattern(" B ")
.define('#', ingredients.goldIngot())
.define('C', ModRegistry.Items.COMPUTER_ADVANCED.get())
.define('C', ModRegistry.Items.TURTLE_NORMAL.get())
.define('B', ingredients.goldBlock())
.unlockedBy("has_components", inventoryChange(itemPredicate(ModRegistry.Items.TURTLE_NORMAL.get()), itemPredicate(ingredients.goldIngot())))
.save(

View File

@ -1,7 +1,7 @@
{
"type": "computercraft:computer_upgrade",
"family": "ADVANCED",
"key": {"#": {"tag": "c:gold_ingots"}, "C": {"item": "computercraft:computer_advanced"}},
"key": {"#": {"tag": "c:gold_ingots"}, "C": {"item": "computercraft:computer_normal"}},
"pattern": ["###", "#C#", "# #"],
"result": {"item": "computercraft:computer_advanced"}
}

View File

@ -4,7 +4,7 @@
"key": {
"#": {"tag": "c:gold_ingots"},
"B": {"item": "minecraft:gold_block"},
"C": {"item": "computercraft:computer_advanced"}
"C": {"item": "computercraft:turtle_normal"}
},
"pattern": ["###", "#C#", " B "],
"result": {"item": "computercraft:turtle_advanced"}

View File

@ -1,7 +1,7 @@
{
"type": "computercraft:computer_upgrade",
"family": "ADVANCED",
"key": {"#": {"tag": "forge:ingots/gold"}, "C": {"item": "computercraft:computer_advanced"}},
"key": {"#": {"tag": "forge:ingots/gold"}, "C": {"item": "computercraft:computer_normal"}},
"pattern": ["###", "#C#", "# #"],
"result": {"item": "computercraft:computer_advanced"}
}

View File

@ -4,7 +4,7 @@
"key": {
"#": {"tag": "forge:ingots/gold"},
"B": {"tag": "forge:storage_blocks/gold"},
"C": {"item": "computercraft:computer_advanced"}
"C": {"item": "computercraft:turtle_normal"}
},
"pattern": ["###", "#C#", " B "],
"result": {"item": "computercraft:turtle_advanced"}