minecraft-roguelike icon indicating copy to clipboard operation
minecraft-roguelike copied to clipboard

Cascading worldgen lag

Open wolfgangrumpf opened this issue 6 years ago • 4 comments

Using the latest version of Roguelike Dungeons (1.12.2-1.8.0) I started getting an endless stream of this error to my log file:

Roguelike Dungeons loaded a new chunk [114, 12] in dimension 0 (overworld) while populating chunk [113, 9], causing cascading worldgen lag. [15:26:54] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. [15:26:54] [Server thread/WARN] [FML]: Roguelike Dungeons loaded a new chunk [113, 12] in dimension 0 (overworld) while populating chunk [113, 9], causing cascading worldgen lag.

wolfgangrumpf avatar Jan 11 '19 20:01 wolfgangrumpf

Am getting the exact same thing (different chunks). I am using a lot of other mods though. Forge 2776, Roguelike 1.8.0 It happened when I entered a new area deep to the south of spawn. I was in a boat for some of it, suggesting it was mispopulating because I was loading chunks quickly. I also have a render distance of 24 which probably added to that.

BaccarWozat avatar Mar 12 '19 02:03 BaccarWozat

Yes, whenever RLD generates a dungeon, it needs to populate all the chunks the dungeon extends into. This is an occasional performance hit as you explore, but that's the price of having the dungeons in your world.

MentalMouse avatar Mar 12 '19 11:03 MentalMouse

If you pregen your world you wont have this issue. Other than that I don't think there's a way to fix it.

Trnrr avatar Jul 17 '19 21:07 Trnrr

Just a bump for this as its still a large issue. When running a server with other mods it gets hard to pregen all the chunks that players will explore effectively and breaks other mod structures.

Theres a way to do this roughly outlined here: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/3126131-question-how-to-get-rid-of-cascading-worldgen-lag

Hope to see this fix come out eventually if it does (and if its possible ofc)

SeamusMullan avatar Dec 29 '22 19:12 SeamusMullan