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:
parent
737d8a2585
commit
0fc78acd49
@ -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(
|
||||
|
@ -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"}
|
||||
}
|
||||
|
@ -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"}
|
||||
|
@ -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"}
|
||||
}
|
||||
|
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user