Mekanism Additions

Mekanism Additions

21M Downloads

cant retro gen osm ores in pregened worlds

resinate opened this issue ยท 8 comments

commented

not possible to spawn ore in pre-gened world in 1.15.1 version of the mod. would be nice to have it appear, a buddy saw it was commented out in source.

commented

I don't believe it is commented out, but you also have told us next to nothing about what version the issue is with. As there are multiple 1.15.1 versions of Mekanism as we have been releasing updates relatively frequently. One of the updates, don't remember which one, did fix some issues with world generation configs not being respected, so unless you actually tell us which version number you have an issue with/where you think the code is commented out there is not much we can do to help you.

commented

version: Mekanism-1.15.1-9.9.2.393.jar
in configs i did this:
#Allows chunks to retrogen Mekanism ore blocks.
enableRegeneration = true
#Change this value to cause Mekanism to regen its ore in all loaded chunks.
#Range: > 0
userWorldGenVersion = 1

but still didnt find any ores spawning, also how does retro gen actually work? does it replace remaining stone to ores in ur mod?

but whats odd is in other mods like exp ore mod they generated ores without retro automatically with pregen world we use

commented

Thank you for the extra information, also I did find out where the code is commented out, so you were right initially that retro gen is disabled.

commented

I mean if you read the commit message, I only partially fixed it. It still doesn't actually work yet, may or may not finish fixing it before 9.9.3.

commented

sweet cant wait for the fix so we can play the mod, i run a SMP modded earth server, so i rely on the retro gen aspect.

commented

I believe in 9.9.5 the code on our end will theoretically work for retrogen, except do note no retrogen will happen due to the event we are listening to not firing. (MinecraftForge/MinecraftForge#6471)

Though I would be careful once the event does get fixed about having the retrogen enabled on a world you care about before testing it on another world to make sure there is not some major issue I did not discover due to not being able to test the re-implementation.

commented

In newer versions of forge the event not firing is fixed, but I would be cautious of turning retro-gen on because I just tested and it does appear to cause a crash. (Which I will now work on fixing due to the fact that I can actually test it)

commented

Closing this as 9.9.8 is now released and on curseforge.