EndlessIDs

EndlessIDs

49.7k Downloads

[Bug]: Couldn't enter dim of lotr mod

Closed this issue ยท 4 comments

commented

OS

Windows

GPU

NVIDIA

Modpack (Optional)

No response

Game log

latest.log

Description

So, I've fixed LOTR Mixins not-starting-game problem, but soon faced another one. And log-spam asked me to report here, so here am I.
Everything works just fine, but when I try to enter M-E dimension through Ring Portal, and then game freezes and log spam starts.

"A mod that is incompatible with EndlessIDs has tried to access the biome array of a chunk like in vanilla! Crashing in fear of potential world corruption!"

All other dimensions work normally (I think. Never visited all of them.)

commented

seem to be duplicated #33 so remove lord of the rings mod

commented

@quentin452 a bit different. In #33 thread client don't even start, but I solved that problem by renaming one of .class files in Mixins dir.
Here problem is that lotr tries to access vanilla array of biomes in chunk instead of modded, and this causes unstopable attempts of endlessids to crush minecraft. And there is no success for it's attempts too.

commented

So, even if I'm wrong, I'll try to help. Mb I gonna say smth stupid.

I'm not java-coder, but I see that lotr mod has two classes:
LOTRWorldProvider.class
LOTRChunkProvider.class
And if LOTRChunkProvider is modified by LOTRChunkProviderMixin, but LOTRWorldProvider which causes error getBiomeGenForCoords(LOTRWorldProvider.java:90) is not being modified.
And as I understand it uses the vanilla method to access biome array in chunk, which means that chunk are not provided by @Redirect(method = "provideChunk" (whatever it means).

commented

Duplicate of #33