Crash with CoFH and Oredict


#1

I’m getting a crash on loading into worlds in a modpack I made with Gregtech and Thermal Expansion among other mods, but the crash seems to be related to how oredicts work between Thermal Expansion and Gregtech. https://pastebin.com/tXubvLwP


(Gregorius Techneticies) #2

That is a huge Bug within CoFH Mods, nothing I can do against them violating Java Standards, sorry that I dont have a Solution.


(Donzil Zenovka) #3

I’m able to run both with minimal error, but I believe I have thermal’s ore gen turned off. Perhaps these are the objects it refers to?

I haven’t checked my config for a long time but maybe you can look through yours and see if there is anything you can fiddle with or disable.


(Gregorius Techneticies) #4

The OreDict does more than just Ores, it does basically everything that has Lists of Items.

But the Problem is the Item HashCode of Vanilla MC does not fulfill the Java Standard, yet for some reason Thermal Expansion uses that HashCode for something and that is why it crashes. This happens due to Item IDs changing and therefore the HashCode of Items changing, and if you end up with bad luck you will stumble into this Error, that cannot be fixed without either removing a Mod or restarting the World.


(Donzil Zenovka) #5

Mm I knew that the oredict worked on more than just ores but I couldn’t think of anything else I had changed that would have averted the error, I guess I was lucky then.

Would manually setting the item ids to a different value resolve the issue? I had to change a ton of other mod ids for compatibility between them and wondering if that could also be why I didn’t get that error. I left GregTech’s as they were though as a foundation, I don’t think i’ve ever touched your config for fear of something going terribly wrong. :laughing:.


(Gregorius Techneticies) #6

Changing IDs wont help unless you know which Items ID is causing this. The easiest way to get this fixed is getting rid of the World and restarting the Game and then starting a new World, because then Item IDs wont be changed between Startup and Loading the World. So that could work in the end.

Or removing Mods until it fixes itself, but that isn’t really nice to a Worldsave, so better start a new World.


(system) automatically bumped #7

(system) automatically bumped #8

(system) automatically bumped #9