High-throughput async chunk streaming, predictive prefetching, and zero-redundancy structure generation.
Nicelight Async Loader is a lightweight, low-overhead optimization engine engineered to eliminate the most notorious bottlenecks in heavily modded Minecraft: massive worldgen lockups, aggressive chunk loading stutter, and severe memory spikes during high-speed exploration (Elytra, mounts, creative flight).
Unlike conventional chunk loaders that flood the main server thread with unmanaged requests, Nicelight introduces velocity-based raycasting, radial idle prefetching, adaptive smooth chunk unloading, and multi-stage fast structure collision filtering.
minecraft:air block, repeatedly rebuilding heightmaps and firing expensive lighting recalculations for open space. Furthermore, intersecting bounding boxes invoke heavy 3D voxel checks (Shapes.joinIsNotEmpty).minecraft:air placement whenever the target coordinate is already exposed to sky air. (Benchmark: skips 48,700+ redundant air blocks per worldgen, eliminating 57.6% of wasted setBlock calls).toDrop buffer (capped at 2,000). Flushing this buffer in a single tick triggers major garbage collection (GC) freezes and memory spikes.Nicelight Async Loader is built for drop-in synergy with the modern optimization stack:
| Mod | Status | Recommended Synergy |
|---|---|---|
| C2ME (Concurrent Chunk Management Engine) | Fully Compatible | Nicelight detects C2ME automatically at boot. Structure acceleration and smooth unloading remain active while prefetch priority yields cleanly to C2ME (default: enablePrefetchWithC2ME: false). |
| ModernFix | Fully Compatible | Complements ModernFix's resource caching and memory leak patches. |
| Embeddium / Rubidium | Fully Compatible | Optimal pairing. Embeddium accelerates client mesh rendering; Nicelight accelerates server-side chunk streaming. |
| FerriteCore / Noisium | Fully Compatible | FerriteCore lowers baseline heap usage; Nicelight eliminates RAM spikes from the chunk drop buffer. |
| Canary / Radon | Fully Compatible | Entity AI and light engine improvements work in full harmony with Nicelight. |
| Cataclysm / Alex's Mobs / When Dungeons Arise | High Impact | Massively mitigates worldgen tick drops during dense dungeon assembly and biome decoration. |
| Config Key | Default | Function | Recommendation |
|---|---|---|---|
enableSpawnChunkOptimization |
true |
Minimizes spawn chunk allocation for sub-second world loading (~0.4s). | Always keep true. |
enableVelocityPrefetch |
true |
Predictive raycasting for sprinting/flying to eliminate void edges. | Always keep true. |
prefetchMaxFlightDistance |
18 |
Maximum lookahead distance during high-speed Elytra or Creative flight. | Lower to 12 on lower-end hardware. |
enableIdleRadialPrefetch |
true |
Generates concentric chunk rings while stationary. | Always keep true. |
enableSmoothChunkUnload |
true |
Throttles chunk drops (35 chunks/tick) to remove GC lag spikes. | Always keep true. |
enableStructureTemplateBypass |
true |
Skips redundant sky air blocks in massive dungeons (cuts load by up to 50%). | Always keep true. |
enableFastJigsawCollision |
true |
O(1) AABB bounding box filtering before complex 3D shape joins. | Always keep true. |
enablePrefetchWithC2ME |
false |
Passes prefetch signals directly to C2ME scheduler. | Keep false. Set true if running ultra-high-speed mounts/spells. |
Leave settings at 100% default unless troubleshooting specific edge cases.
enablePrefetchWithC2ME: false) while preserving structure caching and RAM protection.