Duplicate recipe
lachiu opened this issue · 5 comments
Useful information to include:
- Modpack The Classic Pack - https://www.technicpack.net/modpack/tc-redux.786294
- Sponge version 1.12.2
- CC: Tweaked version 1.85/1.80
- Logs: Not sure if it's needed.
- Detailed reproduction steps: Use cc-tweaked 1.85 for sponge 1.12.2.
Craftable one: (check the EMC value (by removing projecte folder of said modpack you get the defaults)
Uncraftable one, yet 32 emc more
The mining turtle for instance uses the uncraftable one.
CraftTweaker says it's either CC-Tweaked or the modpack.
Uncraftable one - Craftable one, in that order.
Upon placing and mining the craftable one I get the uncraftable one. ComputerCraft 1.80 didn't have this.
This is a problem with the modpack's CraftTweaker scripts. They unregister a recipe for computercraft:turtle_extended
, but the incorrectly register one for computercraft:turtle
. This is no longer used within the mod's code and exists only for world-compatibility reasons.
recipes.remove(<computercraft:turtle_expanded>);
recipes.addShaped(<computercraft:turtle>,
[[<ore:ingotIron>, <ore:ingotIron>, <ore:ingotIron>],
[<ore:ingotIron>, <computercraft:computer>, <ore:ingotIron>],
[<minecraft:iron_ingot>, <ore:chest>, <ore:ingotIron>]]);
There's also some weird stuff they're doing with crafty turtles, but I'm afraid I don't understand that at all.
recipes.remove(computercraft:turtle_expanded);
recipes.remove(computercraft:turtle_advanced);
recipes.addShapeless(computercraft:turtle_expanded.withTag({leftUpgrade: 2 as short}), [computercraft:turtle, minecraft:crafting_table]);
recipes.addShapeless(computercraft:turtle_advanced.withTag({leftUpgrade: 2 as short}), [computercraft:turtle_advanced, minecraft:crafting_table]);
recipes.addShaped(computercraft:turtle_advanced, [[ore:ingotGold, ore:ingotGold, ore:ingotGold],
[ore:ingotGold, computercraft:computer:16384, ore:ingotGold],
[ore:ingotGold, ore:chest, minecraft:gold_ingot]]);
recipes.addShaped(computercraft:turtle, [[ore:ingotIron, ore:ingotIron, ore:ingotIron],
[ore:ingotIron, computercraft:computer, ore:ingotIron],
[minecraft:iron_ingot, ore:chest, ore:ingotIron]]);
These were there already.
You are running a modified version of my modpack. Without your modifications, my modpack runs and operates completely fine. @SquidDev has (thank you) pointed out that obviously my old 'turtle fixes' are actually problematic and no longer required anyway. But contrary to what he said, please do not contact me asking me to fix issues you have introduced yourself! I do not currently have the free time to investigate customization made by individuals.
The bad recipe only introduces one issue: some turtle types appear as CRAFTY TURTLE in their JEI entry (crafty turtles just have the name 'turtle' in JEI). I have just tested the modpack and see why nobody has reported turtle issues to me: all turtle types remain fully craftable despite appearing as CRAFTY TURTLE's in JEI.
CRAFTY TURTLE's have an extra 32 emc compared to the regular ones, as they are made with a crafting table (4 planks, 8 emc each 4*8=32). So that is where your magic 32 emc is coming from. But again, this is purely visual in JEI and the modpack does not have EMC values for turtles by default anyway.
I haven't got time to load up CC:Tweaked today, but I am fairly sure that the extent of your issue is purely visual and in JEI only. With that said, I have already removed the recipe- you can make the same modifications manually as Pulz-TCP/TheClassicPack@dcb5dfd
You were told to remove the portions of the script that add/register new recipes- hence the duplicated JEI entry, as it is no longer used within the mods code.