For the people who are gonna use this, I'd love to hear if this has meaningfull impact. From my testing it does. But knowing peoples expiernces and or bugs/issues i'd love to know!
A lightweight, server side mod that parallelizes Minecraft world generation stages across CPU worker threads for faster chunk generation.
- Parallel Worldgen Stages: Offloads
STRUCTURE_STARTS,SURFACE,CARVERS, andFEATURESfrom the serial"worldgen"mailbox ontoUtil.backgroundExecutor(), while keepingSTRUCTURE_REFERENCESsynchronous to avoid scheduling overhead.
- Deadlock-Free 3×3 Spatial Locking: Feature generation uses a fixed 4,096 bucket
ReentrantLockarray with globally sorted 3×3 chunk lock ordering and non-blockingtryLock()retries, preventing cross-chunk race conditions and deadlocks.
- Modpack Friendly: Uses MixinExtras
@WrapMethodwith zero@Overwrites, preserving compatibility with ModernFix, Terralith, Biomes O' Plenty, Oh The Biomes We've Gone.
- Server-Side Only (Client-Optional): Only required on the server (or in singleplayer).
Yes you can use this in your modpack