Back to mods
nicelight_async_loader project artwork

CurseForge · Minecraft mod

nicelight_async_loader

"Fixes exploration lag spikes and freezes caused by massive structures! Pre-loads chunks ahead for butter-smooth Elytra flight, speeds up world loading, and prevents void chunks. Great standalone or supercharges C2ME in heavy modpacks."

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which nicelight_async_loader release should I use?

Updated last month
Latest stable file nicelight_async_loader-5.4.2-fabric.jar
Game version 1.21.1
Loader Fabric

nicelight_async_loader-5.4.2-fabric.jar targets 1.21.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is nicelight_async_loader required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does nicelight_async_loader-5.4.2-fabric.jar need?

nicelight_async_loader-5.4.2-fabric.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add nicelight_async_loader without breaking your instance.

Built for nicelight_async_loader-5.4.2-fabric.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use nicelight_async_loader-5.4.2-fabric.jar. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside nicelight_async_loader-5.4.2-fabric.jar. It opens that exact file at the source.

About this project

What does nicelight_async_loader add?

Nicelight Async Loader

Version 5.2.8 forge Performance Async Engine

High-throughput async chunk streaming, predictive prefetching, and zero-redundancy structure generation.


Overview

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.


Core Architectural Features

1. Structure Template Air Skipping & Fast Jigsaw Collision

  • The Bottleneck: Large dungeon and boss mods (Cataclysm, When Dungeons Arise, Dungeons and Taverns) generate hundreds of complex jigsaw pieces. Vanilla Minecraft redundantly places every single 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).
  • The Solution:
    • Zero-Redundancy Placement: Automatically bypasses 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).
    • O(1) AABB Pre-Filtering: Discards non-intersecting pieces via lightweight AABB checks prior to invoking costly 3D shape collision methods, bypassing over 600,000 heavy checks per session.
    • Batched Heightmap Recalculation: Groups heightmap updates into batches rather than recalculating them per slice.

2. Velocity-Based Predictive Chunk Prefetching

  • Directional Raycasting: Continuously computes player vector angle and total velocity to prefetch chunks along the trajectory before borders are crossed (Walking: 3–4 chunks; Sprinting: 5–6 chunks; Flight: 8–18 chunks with strict ticket boundaries).
  • Radial Idle Prefetching: While stationary or building, dynamically generates concentric chunk rings (R=1 to 3) in background worker threads.
  • Ticket Storm Suppression: Enforces a hard ceiling on concurrent tickets to protect server tick health during rapid camera turns.

3. Adaptive Smooth Chunk Unloader (Anti-GC Lag Spike)

  • The Bottleneck: Rapid travel accumulates thousands of unloaded chunks inside vanilla's toDrop buffer (capped at 2,000). Flushing this buffer in a single tick triggers major garbage collection (GC) freezes and memory spikes.
  • The Solution: Decreases the unload threshold to 500 chunks and smoothly amortizes unloads (200 chunks/tick dynamically scaled to TPS health). Eliminates memory leak behavior during long sessions.

4. Instant Spawn Chunk Preparation

  • Trims the bloated vanilla 11-radius spawn chunk area (441 chunks) down to a streamlined 3-radius zone (25 chunks), cutting 8–15 seconds off initial world boot times without breaking respawn anchors or beds.

Compatibility Matrix

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.

Configuration Guide (8 Key Settings)

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.

The Golden Rule: Out-of-the-Box Tuning

Leave settings at 100% default unless troubleshooting specific edge cases.

  1. Without C2ME: Defaults run all subsystems autonomously (directional streaming, instant spawn init, dungeon air bypass, and smoothed GC queues).
  2. With C2ME: Automatically harmonizes chunk tickets (enablePrefetchWithC2ME: false) while preserving structure caching and RAM protection.
  3. Deep Internal Settings: Thread pools and executor caches are pre-tuned across 200+ modpack stress benchmarks.

Project description from CurseForge.

Pick your setup

nicelight_async_loader by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

nicelight_async_loader versions and loaders

10 of 10 releases match

Looking for an older file? The official CurseForge project page is in Resources.