Lazy Chunk Load

Lazy Chunk Load

The vanilla chunk loading system schedules a massive number of chunks around the player all at once, causing instant server CPU overload and TPS collapse

von
8.2K Downloads
fabricforgeneoforgeoptimization
Server mit dieser Mod mieten

Screenshots

With Big Globe
TPS Stress Test - 77 Blocks/s Max Speed
Optimized Performance: TPS Impact & C2ME Compatibility

Über diese Mod

Lazy Chunk Load

The vanilla chunk loading system schedules a massive number of chunks around the player all at once, causing instant server CPU overload and TPS collapse. Lazy Chunk Load improves this process: it controls chunk loading speed like a faucet — automatically turning down when the CPU is busy and opening up when idle — so exploring new terrain no longer stutters.


What This Mod Does

🚶 Anti-Lag Exploration

With this mod installed, the server automatically adjusts chunk loading frequency based on current CPU usage. Full speed when usage is low, automatically slows down when usage spikes — TPS stays rock-solid throughout.

  • It doesn't make chunk loading faster — it makes it smoother. Trade a bit of instant speed for a stutter-free experience.
  • True prevention, not an after-the-fact fix.

🔄 Background Preloading

When you're standing still, the mod automatically uses idle CPU to preload ungenerated chunks around you.

Priority: chunks under your feet first, then in your line of sight, then to the sides and behind.

  • Enabled by default, works while idling.
  • Automatically pauses when the CPU is busy — never steals resources.
  • Status output to log every 5 seconds.

🛡️ Additional Protections

  • Login Warmup: No limits for the first 10 seconds after joining a world, ensuring initial terrain loads quickly.
  • Save Safety: Automatically pauses all chunk loading during world saves to prevent save stalling.
  • Emergency Bypass: When the player steps on an unloaded chunk, all limits are bypassed and the chunk loads immediately.
  • Hotspot Chunk Tracking: Frequently-accessed chunks are marked as hotspots; preload extends their retention time.
  • Dimension Whitelist/Blacklist: Restrict preloading scope via dimension_blacklist / dimension_whitelist to avoid wasting CPU in custom dimensions.

Installation

Drop it into your mods folder — no configuration needed to work out of the box. Server-side only; clients do not need to install it.

Singleplayer works perfectly fine too.

Platform Supported Versions
Fabric 1.21.x
Fabric 26.1+
Forge 1.20.1
NeoForge 1.21.1

💡 Fully compatible with optimization mods like C2ME, Lithium, and VulkanMod. Does not modify chunk generation algorithms — only adjusts loading rhythm.
🗺️ Automatically detects Chunky pre-generation tasks and lifts CPU limits during generation for full speed; restores automatically when complete.


Monitoring

Every 5 seconds a status line is logged to logs/latest.log:

[LazyChunkLoad] Tick:1200 CPU:45% Sched:3/t Warmup:N Preload:ON Main:OK
Field Meaning
Tick Current tick count
CPU CPU usage percentage
Sched Chunks loaded last tick
Warmup Y=Warming up / N=Normal
Preload ON=Active / OFF=Disabled / PAUSED=CPU too high
Main OK=Full speed / SLOW=Throttled

Configuration

The config file is located at config/lazychunkload.json (auto-generated, takes effect immediately on changes).

If you just want to use the mod normally, you don't need to read any of this — the defaults are already best practice.

📝 Full Configuration Reference (click to expand)
Option Default Description
cpu_threshold 0.85 CPU usage threshold for throttling (0~1, higher = more lenient)
warmup_ticks 200 How many ticks after login to skip limits (20 ticks = 1 second)
preload_enabled true Enable background preloading
preload_radius 64 Preload radius (in chunks)
preload_delay_seconds 1 Seconds of standing still before preloading begins
distance_weight 0.5 Distance priority weight (closer = more priority)
direction_weight 0.4 Direction priority weight (forward-facing = more priority)
aging_weight 0.1 Aging priority weight (long-unloaded = more priority)
direction_multiplier 5.0 Direction bonus multiplier
aging_factor_ms 10000 How many milliseconds count as "aged"
log_loading false Log detailed info to console
performance_tips true Output debug log when CPU or MSPT exceeds threshold (no longer sent to chat)

There is also a runtime config at config/lazychunkload-runtime.json:

Option Default Description
limit_enabled false Set to true to completely disable CPU limits (full speed)
tips_disabled false Set to true to disable chat performance tips

How It Works

  1. Checks CPU usage once per tick (1-second cache, near-zero overhead).
  2. CPU below 85%: chunks load normally, no restrictions.
  3. CPU above 85%: chunk loading frequency is automatically reduced — the higher the CPU, the stronger the limit, but even in the worst case, at least one pass is allowed every 0.2 seconds — ensuring terrain never gets permanently stuck.
  4. When you're standing still: background scanning of ungenerated chunks around you, loaded in prioritized batches.
  5. When you're exploring: stepping on an empty chunk triggers an immediate emergency bypass with no limits applied.

Verfügbare Versionen

Lazy Chunk Load 1.3.0release
MC 26.1, 26.1.1, 26.1.2, 26.2fabric
19. Juli 2026
Lazy Chunk Load 1.3.0release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
19. Juli 2026
Lazy Chunk Load 1.3.0release
MC 1.21.1neoforge
19. Juli 2026
Lazy Chunk Load 1.3.0release
MC 1.20.1forge
19. Juli 2026
Lazy Chunk Load 1.2.0release
MC 1.21.1neoforge
14. Juli 2026

Lazy Chunk Load auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (26.2).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "Lazy Chunk Load". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabricforgeneoforge

Minecraft-Versionen

26.2, 26.1.2, 26.1.1 (+13 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Lazy Chunk Load Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist Lazy Chunk Load mit fabric und forge und neoforge kompatibel?

Lazy Chunk Load unterstützt offiziell fabric, forge, neoforge für Minecraft 26.2, 26.1.2, 26.1.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit Lazy Chunk Load – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Lazy Chunk Load den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere Lazy Chunk Load mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
MIT License
Server-seitig
Erforderlich

Unterstützte Versionen

26.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.6+6 mehr