Infinite Dimensions

Infinite Dimensions

4.8k Downloads

Crash: "Accessing LegacyRandomSource from multiple threads"

Praoubl opened this issue ยท 2 comments

commented

I was exploring a random dimension and it crashed.

version: minecraft 1.20.1, fabric 0.16.3, infinite dimensions 2.3.8

config: default except for the autogenerated compat

additional mods: see log

https://mclo.gs/Xs7LpFc

commented

rejoined the world and it didn't crash again

commented

should be fixed next version. it's not even my bug, it has to do with poorly written mojang code

basically, minecraft doesn't allow for random values to be extracted out of the same provider simultaneously for... reasons that i will not get into. however, when a bee spawns (it has to be specifically a bee), it does do just that, because its code for initialising goals makes an absolutely unnecessecary randomisation call from a subthread while the main thread is actually spawning the bee and doing its own business

in vanilla, bees only spawn from beehives, not with the biome spawning code, so the bug never gets triggered, but it's still there. and in infdims some dimensions do roll bees as their mobs to spawn and... yep

it took me a long time to figure it out, but i did. and it will be fixed in 2.4