-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cascading Worldgen Lag #1715
Comments
The reason for cascading world generation in GTCE is when an ore vein generates at the edge of a chunk at the side where the world isn't loaded. The ore vein being large will likely overflow into the neighbouring chunk and cause extra world gen. You can reduce the chance of this happening with the following configuration option (turned off by default)
Actually, when Minecraft does world gen, it does it in 3x3 chunk "sections", and I believe this option puts it in the centre of one of those? Making it even less likely to cascade. The rubber trees are hardwired to generate in the centre of a chunk. |
This setting indeed did stop cascading worldgen lag caused by GTCE, but it remains that its not a proper fix to the issue and more of just a workaround. Should look into having a bigger offset most likely. Edit: The mod still does cause cascading worldgen lag, its just very rare now it seems. |
Its not a fix for anything. You have the choice of
The tradeoff for the random version is more resource intensive world gen.
I don't know what this means. Offset of what? Minecraft is hardwired to perform most optimally if all worldgen confines itself to +/- 24 blocks of that grid I mentioned above. In later versions of Minecraft it has an abstraction called a A real fix to reduce resource usage for the random worldgen would be write some data in the save directory so it remembers when it needs to continue ore veins into a neighbouring chunk that is not yet loaded - instead of doing it immediately and forcing cascading chunk loading. |
Describe the bug
When Generating new chunks the mod can cause cascading worldgen lag. While if using the mod by itself its not big deal, but when using any sizeable mod pack it adds up a lot.
Versions
Forge: 1.12.2 - 14.23.5.2855
Magma: Magma 1.12.2 Version: vdd991e7-DEV
Modpack: https://www.technicpack.net/modpack/zelkyns-modded-mc.1878561
Setup
Magma on server side and forge on client side.
Steps To Reproduce
Explore to gen chunks or use chunk pregenerator.
Expected behavior
Not having cascading worldgen lag.
Additional context
For a clear explination of what cascading worldgen lag is and how to fix it read this post.
https://www.reddit.com/r/feedthebeast/comments/5x0twz/investigating_extreme_worldgen_lag/
The text was updated successfully, but these errors were encountered: