LLibrary causing cascading lag on worldgen
duhadventure opened this issue · 11 comments
All worldgen in Mowzie's Mobs is called through this class: https://github.com/BobMowzie/MowziesMobs/blob/1.12/src/main/java/com/bobmowzie/mowziesmobs/server/world/MowzieWorldGenerator.java
I use the structure builder for the structures themselves, but I can't imagine that's an issue.
What exactly is "cascading" worldgen lag?
@BobMowzie Cascading generation refers to the generation of a chunk causing another to generate, typically caused by setting or getting blocks in neighboring chunks.
LLibrary never calls getBlockState, and only calls setBlockState from the StructureBuilder... huh
Alright. Think I've found the issue: the syncing BlockEntity
class sends update packets to all players, forcing them to load the chunk that the TE is in.
Only weird thing is that shouldn't happen during chunk generation, so shouldn't cause that message.
EDIT: Nevermind that, Mowzie's Mobs doesn't have any classes extending BlockEntity
.
@duhadventure Is that the only other mod you have installed?
@BobMowzie any ideas on this? Could your mod be causing generation while in the LLibrary context?
I just got this issue too. Froze my game for ten seconds, and when it unfroze I had been murdered by an angry zombie. But I've got a laundry list of miscellaneous mods, from Thaumcraft to PrimitiveMobs (and Mowzie's Mobs, too, which is the reason I have LLibrary to begin with), so I'm not strictly sure that nothing's interfering.
Know this is an old issue, but I am also having it, and yeah I also have a decent amount of mods installed