
Chunk Pregenerator
No more lag while exploring! Load chunks beforehand so you can enjoy exploration.
Screenshots



About this Mod
No more lag while exploring!
Load chunks beforehand so you can enjoy exploration.
This DataPack allows you to pregen chunks before you go exploring, so you won't experience lag from generating chunks during exploration.
Very useful for servers where players usually explore simultaneously.
USAGE:
Run /function help:chunk_pregenerator to get all info needed to use this DataPack.
There are 3 parameters you should know:
- Cx: x coordinate of the square's center
- Cy: y coordinate of the square's center
- R: square's radious in chunks (each chunk is 16 blocks long)
Here is an example:
Each '✅' is a chunk that will be loaded.
Each '❌' is a chunk that won't be loaded.
Running /function c_pre:start {Cx: 0, Cz: 0, R: 3}.
❌❌❌❌❌❌❌❌❌
❌✅✅✅✅✅✅✅❌
❌✅✅✅✅✅✅✅❌
❌✅✅✅✅✅✅✅❌
❌✅✅✅🟢✅✅✅❌
❌✅✅✅✅✅✅✅❌
❌✅✅✅✅✅✅✅❌
❌✅✅✅✅✅✅✅❌
❌❌❌❌❌❌❌❌❌\
SETTINGS:
You can change the maximum radius with the command below./function c_pre:settings/set_max_radius {R:250}
Change "250" to any number you want.
⚠️ NOTE: The more chunks you pregen, the more lag and time it will take.
Available Versions
How to Install Chunk Pregenerator on Your Server
Order Server
Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Chunk Pregenerator". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+4 more)
Server-side
✓ RequiredRecommended RAM
6 GB(min. 4 GB)Frequently Asked Questions
Chunk Pregenerator server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Chunk Pregenerator compatible with datapack and fabric and forge and neoforge and quilt?
Chunk Pregenerator officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Chunk Pregenerator – how to optimize performance?
Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Chunk Pregenerator consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Chunk Pregenerator with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial No Derivatives 4.0 International
- Server-side
- Required