Modscraper Modscraper Minecraft
Chunk-Pregenerator logo

Chunk-Pregenerator

Mod

by Speiger

Pre Generate your worlds Efficiently

Type

Mod

CurseForge Downloads

29,144,189

CurseForge ID

267193

Last Updated

Sep 5, 2026

Description

Discord Support me on PatreonStatic BadgeStatic Badge 
Chunk Pregenerator is a tool that allows you to generate your World more efficiently, by Preemptively generating the chunks.It is a Server-side tool that has some optional client features if wanted.
It can be also used in Single-Player too.

 

FAQ / Documentation / Known issues and Fixes to said issues.
Can be found in the wiki at the top 

 

Features:

Very User friendly:
Chunk Pregenerator has a lot of features that make it very friendly to the users, such as:
Complete Documentation of each Command,
Auto Completion/Suggestions on Command-arguments as needed to provide guidance,
Improved logging that is color coded and structured to display what is going on,
Optional UI Features that are easier to use then plain text.

Multi-threaded World-Generation:
Chunk Pregenerator uses Multiple Cores to generate a Dimension,
It is achieved by Clever Management of Minecraft's Off-thread World-Generator which can do Multi-threaded World-Generation but does not enable it on its own.
This can help generate the World much quicker due to generation steps being handled independent of each other.

Multi-World Generation:
Chunk Pregenerator no longer generates Chunks on the Server-Thread, it only manages which chunks are to generate where on the Server-Thread.
This allows to generate Multiple Dimensions at the same time without affecting each others World-Generation speed. Provided the Server has enough Threads.

Playable during Pregeneration:
Chunk Pregenerator is designed to run while playing the game.
World-Generation is a CPU intensive task, but due to running Off-thread it can be ran in the background.
But this only applies if enough resources are provided, otherwise it might be affecting the Gameplay.

Improved Chunk Generation Checks:
Chunk Pregenerator has a much more Optimized way of Checking for Chunks.
This check is much much faster then a Normal Check, but it less accurate due to limited amount of information that is provided.
Extra to that Slower Checks are made Off-thread so they won't afffect Gameplay and can be done on the fly and Interrupted.

Very Efficient Memory Managment:
Chunk Pregenerator is not blindly generating chunks.
It also Manages its own Memory Usage and Keeps track of Memory Leaks and Cleans up after Minecraft if it is nessesary.
This is not perfect and can not account for other mods but it keeps known Minecraft Memory Leaks at bay without causing issues.
Side to that Pregeneration tasks got optimized to the point where they take so little that any reasonable generation wouldn't be noticed.

Retrogen:
Chunk Pregenerator is now one of the Only mods that allow Retrogeneration in 1.14 or newer.
This is achieved by recreating the WorldGeneration step itself.
It partly runs on the main thread due to the Chunks being already fully integrated into the World so this will have a effect on Server Performance but it is much less then a normal Generation.

Intigrated Profiler (1.12 or older):
Chunk Pregenerator has a Integrated UI Based Profiler, that allows to see live stats of what is happening in your world.
It also provides information on things, Such as Block Updates, Block Ticks, Active TileEntities/Entities and which are ticking and which not.
This is also done only on the Networking Thread which means it can grab the infromation without actually getting stuck if the server itself is stuck too.

Dimension Control (1.16 or newer):
Chunk Pregenerator has a way to disable or enable dimensions even while the game is running.
This can be really since Dimensions  can no longer unload on their own and can eat a small amount of resources.
This is usually not a problem that add a way to create a lot of dimensions that may only get used a couple times and then ignored this can add extra unnecessary lag.

Dimension Specific Seeds (1.19 or newer):
Chunk Pregenerator allows you to set seeds per dimension. That includes modded dimensions too.
This can be configured in the "pregen_seeds.json" in the server config folder.

   

Warnings about Massive world Generation (+400 Chunk Radius):

This section is for Any Minecraft Version. If something is version specific, it will be notated.
Since i have been asked multiple times about massive worldgen and I repeat the same warnings with these requests I thought lets type them out.
These warnings are for Vanilla Only, modded will amplify these issues massivly, so if you read this then make sure you think about how much mods actually add. (Structure mods are one specific issue)

So you want to generate larger then a 250 Chunk / 4000 Block Radius. Lets say 1500 Chunk Radius or larger. There is a couple things you as the player or server owner need to take care of to make sure you don't end with a corrupted world or with a world that uses so much ram that it is unplayable. Minecraft has sadly some memory leaks in each game version.

First thing to know is: Massive WorldGeneration takes time.
If you generate a world of 1000 ChunkRadius in Vanilla, you can be sure that this will take 24-48 hours. If you go to a 2000 Chunk Radius that time will 4x at the very least. But usally its a 8x with the amount of data that come into play. So a 2000 Chunk Radius will take a week most likely. Depending on the modpack this will 10x or 50x or only 1.2x.
If you go to the max radius (25k ChunkRadius) that thing will take a YEAR. And not with default settings. I mean a full Year at most optimized settings you can find. And that is calculated with a I5-7500 CPU.
Its not the best CPU but its already quite fast compared to server CPUs.

Next thing is: Have enough Storage.
I have a small World in 1.16.5 (150 Chunk Radius overworld and 100 Chunk Nether) and it already takes 700MB in a very light (worldgen) modded world. Pregen didn't even notice the mods.
So if you double that you are already at 2.8GB with a 300 & 200 Chunk Radius. If you go with a 1000 chunk radius you will be most likely at the 3 digit GB usage just for the world. (Modded will make it worse)
Make sure you are prepared for that. If you massgen have a 1TB at the very least of free room if you go large enough. This is just a suggestion, if you know better then you know what to do.

Next thing is: Do not start with the final world.
If you are massgenerating, do not start with the final world you want to play on. Start with a Smaller test world (same seed) and look how well it works. Like do a 300 radius gen and see what problems arise, because if there is a problem midgen at 75% and it corrupted the world you lose a lot more time then just doing a 24 hour generation test. And the cool thing is Chunk pregen can do expansions too. So in a step by step generation you can see problems and fix them. Its a slower process but you need to see what your game needs to stay stable.
You can go the risky rout and just start and hope that it goes well but usually it won't at that scale. Up to 300 chunk radius is save to do even so some ram usage effects will appear, they will stay small enough not to cause trouble with a 4-5GB Ram setup.

Next thing is: Keep Track of Structure files, Mineshafts specifically (1.12 Only)
In 1.12 or older structures are stored Globally. That means they are always loaded. Now usually that is not an issue if you don't have a lot (likeless then 100). Problem is Mineshafts spawn EVERYWHERE and a LOT of them spawn.
Why is that a problem though the "mineshaft file is only 500kb big" (example), well you see. Minecraft not only stores them Globally, but they are globally stored 2x. Yes 2 times. Once in the usable form for the  game, and the second time in Uncompressed NBT form to speed up writing time. And that is a problem because the actual files are Extremely compressed. So that 500 KB could be already 1.5-3GB of Ram usage. That high of a Compression. All files in the "data" folder are that compressed. So if you see outliers that could be a reason of high ram usage. Because they are globally stored in ram. (But mods usually only store them 1x instead of the structures 2x).
So whats a fix for it? For vanilla structures. You can just delete the files, just make sure the server is not running at the time. The only thing that no longer works is the "locate" command because that actually uses these files. And you only need to delete the excessivly large files. Like anything below 3 digits in the KB range is fine to keep. If you are worried that things might break. Just rename them for a test.
But for vanilla structures make sure to keep track of the mineshafts file. Oh and for mods that add structures. Depending on the implementation this problem exists for them too. Reconcurrent complex actually stores all its structures in a single file and that usually gets large pretty quickly.

Last thing: You need to maintain your pregeneration.
Yeah, you can not just start and wait it to finish, you need to keep track of it. Like keep the chat messages open at any given time while you are not sleeping.
Because if a problem arises you need to know that. In 1.12 chunkpregen has fail switches that will kill the game to ensure the save file stays safe. In +1.14 there is almost non there yet because the problems that 1.12 has are so decentralized that they can not affect the main game anymore.
But in general if you don't keep track of your pregeneration and anything corrupts because of a thing you didn't check that will be most likely a restart from scratch.

This list is the most often repeated issues with mass generation. (+300 Chunk Radius (10k world diameter)) I have been warning about.
I hope that helps you get the most stuff prepared and that you account for all of that.

 
Spotlights:

If you want to submit a Spotlight it will be inserted here:

 

Spotlight Bears Den (Version 3.0.3):

Preview Spotlight Bears Den (Version 3.0.3):


By Bears Den (Version 2.0):


Spotlight By Goshen (Version 1.9.0)

 

Tips and tricks with Amidst & JourneyMap (Version 1.9.2)

 
Progress Chat Spam:

This is how the Progress bar in chat looks like. (Fancy I know)
[Task Name] Shows the Active Task.
[World] Shows the World the Task runs in.
[Task Type] Shows the Generation Type
[Task] Shows how far the Progress of the task is. "Main" is the main generation step, "Light" is the finalization of the chunks so they can be used. And "Total" is how many chunks are in total to generate.
[Speed] Shows how fast each Generator is running per tick. (20 ticks a second)
[Loaded]: Shows the Loaded Chunks, RegionFiles (save files) and the PointsOfInterest (Villager stuff). This is shown only for pure Debug reasons and if any of these numbers get to crazy high you know you have a problem. (Loaded Chunks: Should never go above 15-20k the starting amount, RegionFiles should never go above 150 and Points of Interest should always go back to 50k but not instantly)
[Time Left] Shows the Estimated time until the task is finished. (needs 5-10 mins to get accurate)
[Ram Usage] Shows the Ram Usage of the server

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (242)

Show fewer
ZoomerPack ZoomerPack Hommage Hommage Technology empty Island Technology empty Island Nova Academy Official Nova Academy Official superheroes tech superheroes tech FISK_ADVANCED (Fisk's Superheroes) FISK_ADVANCED (Fisk's Superheroes) Realism Amplified Realism Amplified Pirates Of The Infinite Caribbean Pirates Of The Infinite Caribbean Security Village Security Village Pixelmon+ Pixelmon+ THE Walking of the parasite. 100Days. THE Walking of the parasite. 100Days. TACTICAL NUKE! TACTICAL NUKE! MHAC - My Hero Academia Craft MHAC - My Hero Academia Craft IRL Craft IRL Craft FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired  The end human civilization(100days) The end human civilization(100days) (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT Swords and Staffs Swords and Staffs A true Girly Girl's Dreampack A true Girly Girl's Dreampack Society: Mystical Ocean Society: Mystical Ocean Last DayZ of Craft Last DayZ of Craft Reclamation Reclamation Sen2's Grand Craft [One Piece] Sen2's Grand Craft [One Piece] Animal Crossing+ Animal Crossing+ Create Outbound Create Outbound Minecolonies: a Refined Creation Minecolonies: a Refined Creation ZobraCraft ZobraCraft Create: Cannons, Cogs, and Candy Create: Cannons, Cogs, and Candy Jurassicraft: The Lost World Jurassicraft: The Lost World Heartful Memories Heartful Memories Ultimate RP Pack 1.12.2 Ultimate RP Pack 1.12.2 Endless cataclysm Endless cataclysm TrollMods - Let the trolls begin! [Troll Wars] TrollMods - Let the trolls begin! [Troll Wars] Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival Earth 1:1000 Modded SMP Earth 1:1000 Modded SMP WW2 Modpack WW2 Modpack OF-Optimized Forge OF-Optimized Forge The Boys Crazry Crazy Kraft The Boys Crazry Crazy Kraft R.M. Apocalyptic Zombies R.M. Apocalyptic Zombies Baldi's Purge Pack Baldi's Purge Pack Citycraft Roleplay Citycraft Roleplay ˚ʚ♡ɞ˚ Cozycraft - Farming and Animals ˚ʚ♡ɞ˚ ˚ʚ♡ɞ˚ Cozycraft - Farming and Animals ˚ʚ♡ɞ˚ Savaru I - Survival Savaru I - Survival FISK_STANDARD (Fisk's Superheroes) FISK_STANDARD (Fisk's Superheroes) Project: Black Clover Project: Black Clover Solo Leveling SMP Server PACK Solo Leveling SMP Server PACK OnePieceNewWorld OnePieceNewWorld MC Jurassic MC Jurassic Project Pokémon Project Pokémon VR Realistic Worlds 3D Server VR Realistic Worlds 3D Server Satisfactory Satisfactory HeroCraft - CrazyCraft Style HeroCraft - CrazyCraft Style Sylo Craft Sylo Craft FISK_CUBED (Fisk's Superheroes) FISK_CUBED (Fisk's Superheroes) Lost Cities Zombie Apocalypse Lost Cities Zombie Apocalypse Create: Above Eureka Create: Above Eureka D1ldo Craft D1ldo Craft Trenches (A Warfare Modpack) Trenches (A Warfare Modpack) WWII Era Warfare WWII Era Warfare Mystic's Anime Adventures Mystic's Anime Adventures Pollution of the Realms - Content Pack Pollution of the Realms - Content Pack Tensura Lite Tensura Lite Simply Lord of the rings Refined edition Simply Lord of the rings Refined edition dawn when 100days(黎明時分 100天) dawn when 100days(黎明時分 100天) MLG's Avatar: Benders of The New Age MLG's Avatar: Benders of The New Age Isle of Berk Dragon Age Isle of Berk Dragon Age Realistic Modpack - extreme survival Realistic Modpack - extreme survival Dragon Block C Refresh Dragon Block C Refresh Dungeons and Dungeons pack Dungeons and Dungeons pack A4 Mystic Odyssey [Lite] A4 Mystic Odyssey [Lite] Pokeverse Pokeverse Dragon Block C Infinity Dragon Block C Infinity The Perfect One Piece The Perfect One Piece Crazy Craft 4.0 OG Crazy Craft 4.0 OG TerraFirmaKingdoms Season 1 TerraFirmaKingdoms Season 1 Cece's Realistic Medieval Cece's Realistic Medieval Fiskvincible Fiskvincible Better RPG Realms Better RPG Realms Project: Lost InfinitE Project: Lost InfinitE DoomsDay Jurassic DoomsDay Jurassic Dungeon Legends Dungeon Legends Create Computers Create Computers RADIATION RECKONING RADIATION RECKONING Ragecraft: Tactical Warfare Ragecraft: Tactical Warfare EverestMC+ EverestMC+ FISK_RPG (Fisk's Superheroes) FISK_RPG (Fisk's Superheroes) EagleCraft RPG EagleCraft RPG Scape and Tech Operation Meteorite Scape and Tech Operation Meteorite Greek History Greek History Neo's Scape Server Pack Neo's Scape Server Pack Mad's Island Mad's Island Haln's Classic RPG Haln's Classic RPG JOJO VS SCP-610 Invade 100 Days JOJO VS SCP-610 Invade 100 Days Gregtech: Quantum Gregtech: Quantum Dragon Block To be the Ultra Instinct Dragon Block To be the Ultra Instinct Alca CrazyCraft Alca CrazyCraft Two Weeks at Freddy's (FNAF) Two Weeks at Freddy's (FNAF) Dino City Dino City NonsenseCraft - Naruto NonsenseCraft - Naruto CloverCraft (Season 1) CloverCraft (Season 1)

External Resources