Modscraper Modscraper Minecraft
Chunk-Pregenerator logo

Chunk-Pregenerator

Mod

by Speiger

Pre Generate your worlds Efficiently

Type

Mod

CurseForge Downloads

28,602,874

CurseForge ID

267193

Last Updated

Jun 12, 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

Similar Mods

Included in Modpacks

InsaneCraft Modpack InsaneCraft Modpack Ocean Outlast Ocean Outlast MC  Eternal MC Eternal Create: Above and Beyond Create: Above and Beyond Dungeons, Dragons and Space Shuttles Dungeons, Dragons and Space Shuttles Last Days of Humanity Last Days of Humanity Life in the village 3 Life in the village 3 Create: Mekanized Create: Mekanized Industrial Village Industrial Village Cottage Craft - A Cottagecore Adventure Cottage Craft - A Cottagecore Adventure Kinda Crazy Craft Kinda Crazy Craft Play as Dragon [Abandoned] Play as Dragon [Abandoned] Kinda Crazy Craft 2.0 Kinda Crazy Craft 2.0 Simple Voice Chat & Proximity Chat Modpack Simple Voice Chat & Proximity Chat Modpack Beyond Viltrum - Invincible Inc Beyond Viltrum - Invincible Inc Enigmatica 2 - E2 Enigmatica 2 - E2 Black Clover Resolution Black Clover Resolution Magiculture 2 Magiculture 2 Simply Lord of the Rings [LOTR] Simply Lord of the Rings [LOTR] InsaneCraft "Modest" (LITE) InsaneCraft "Modest" (LITE) MHA:World of Hero's and Villans MHA:World of Hero's and Villans Elden Block Elden Block Infinity Evolved: Reloaded Infinity Evolved: Reloaded Era do Futuro 2022 Era do Futuro 2022 World of zombies World of zombies Infinite Randomized One Block Skyblock Infinite Randomized One Block Skyblock Lukes Paradise Parasites Exodus Lukes Paradise Parasites Exodus Two-Mods - By Gato(avaritia) Two-Mods - By Gato(avaritia) My Hero Academia Mythical My Hero Academia Mythical Zain's Crazy Craft Zain's Crazy Craft The Decimation (MR Season 2) The Decimation (MR Season 2) Kimetsu No Yaiba: Isekai (Demon Slayer: Different World) Kimetsu No Yaiba: Isekai (Demon Slayer: Different World) Terrafirma Engineering Terrafirma Engineering Tensura Lite Tensura Lite SRP: Quarantine Zone SRP: Quarantine Zone Life in the village LITE Life in the village LITE Last DayZ of Craft Last DayZ of Craft Jujutsucraft Arai Jujutsucraft Arai A4 Mystic Odyssey [Lite] A4 Mystic Odyssey [Lite] Society: Mystical Ocean Society: Mystical Ocean BuildCraft + IC2 BuildCraft + IC2 Enigmatica 2: Light - E2L Enigmatica 2: Light - E2L (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT Unlimited Demon Slayer Unlimited Demon Slayer Kinda Crazy Craft (updated) Kinda Crazy Craft (updated) Citycraft Roleplay Citycraft Roleplay Realism Amplified Realism Amplified Peace of Mind Peace of Mind Isle of Berk Dragon Age Isle of Berk Dragon Age Resident Craft Resident Craft Ben 10 Survival Ben 10 Survival R.M. Apocalyptic Zombies R.M. Apocalyptic Zombies Dragon Block C Infinity Dragon Block C Infinity Comes Alive & The Autumn Days Comes Alive & The Autumn Days [Official] Sbeev's Industrial Revolution Modpack [Official] Sbeev's Industrial Revolution Modpack Better RPG Realms Better RPG Realms Epoch Runner Epoch Runner Unyielding Unyielding Wuxiacraft the Immortal Era Wuxiacraft the Immortal Era The world of slash blades The world of slash blades Technology empty Island Technology empty Island Branzy's Pirate life Branzy's Pirate life Eight Seas Eight Seas Hommage Hommage Lucky UHC Lucky UHC Flan's Mod Factions Pack Flan's Mod Factions Pack LordOfTheRings | By ACEGaming LordOfTheRings | By ACEGaming Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival Endless cataclysm Endless cataclysm THE Walking of the parasite. 100Days. THE Walking of the parasite. 100Days. Legends of Pokemon Legends of Pokemon Chroma Technology Chroma Technology Chroma Endless Chroma Endless Quality Of Life (QOL) Quality Of Life (QOL) CivilizationPack CivilizationPack ˚ʚ♡ɞ˚ Cozycraft - Farming and Animals ˚ʚ♡ɞ˚ ˚ʚ♡ɞ˚ Cozycraft - Farming and Animals ˚ʚ♡ɞ˚ Cece's Realistic Medieval Cece's Realistic Medieval The OnePiece Odyssey The OnePiece Odyssey ZoomerPack ZoomerPack Create: Cannons, Cogs, and Candy Create: Cannons, Cogs, and Candy Ultimate RP Pack 1.12.2 Ultimate RP Pack 1.12.2 Satisfactory Satisfactory Super Stupidity Super Stupidity Dino City Dino City Trenches (A Warfare Modpack) Trenches (A Warfare Modpack) Project: Black Clover Project: Black Clover Create: Above and Beyond, And Then Some! Create: Above and Beyond, And Then Some! TACTICAL NUKE! TACTICAL NUKE! Fiskvincible Fiskvincible MC Guerra 2021 MC Guerra 2021 Infinity Reloaded: Skyblock Infinity Reloaded: Skyblock dawn when 100days(黎明時分 100天) dawn when 100days(黎明時分 100天) CRIF - Create an empire of Rats to fight "Ice&Fire" CRIF - Create an empire of Rats to fight "Ice&Fire" DoomsDay Jurassic DoomsDay Jurassic Visuality Visuality Pirates Of The Infinite Caribbean Pirates Of The Infinite Caribbean FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired EverestMC+ EverestMC+ A true Girly Girl's Dreampack A true Girly Girl's Dreampack Aeternis Aeternis Multi Mites Multi Mites IRL Craft IRL Craft Dragon Block C Refresh Dragon Block C Refresh Conquest & Kingdoms Conquest & Kingdoms Project House Project House The Perfect One Piece The Perfect One Piece Lucky Craft Lucky Craft CreateTogether CreateTogether Mythic: Novus - The Complete Magic Modpack - 1.12.2 Mythic: Novus - The Complete Magic Modpack - 1.12.2 The Powers that Be. The Powers that Be. Roots of Civilization Roots of Civilization TerraFirmaKingdoms Season 1 TerraFirmaKingdoms Season 1 Dungeon Legends Dungeon Legends TUIA (The Ultimate Indefinite Adventure) TUIA (The Ultimate Indefinite Adventure) Lost Cities Zombie Apocalypse Lost Cities Zombie Apocalypse Dragon Mounts Companion Dragon Mounts Companion NonsenseCraft - Naruto NonsenseCraft - Naruto Insane Ben 10 Insane Ben 10 More Magika! More Magika! Animal Crossing+ Animal Crossing+ Scape and Tech Operation Meteorite Scape and Tech Operation Meteorite  The end human civilization(100days) The end human civilization(100days) HunterZ By Xen0Xys HunterZ By Xen0Xys JOJO VS SCP-610 Invade 100 Days JOJO VS SCP-610 Invade 100 Days Technocratica Technocratica Astral Engineering Astral Engineering Milk and Stuff: Remilked Milk and Stuff: Remilked OnePieceNewWorld OnePieceNewWorld The Boys Crazry Crazy Kraft The Boys Crazry Crazy Kraft Survival Unchained Survival Unchained Project: Lost InfinitE Project: Lost InfinitE Rexxit Reborn Rexxit Reborn Craft Colonies Craft Colonies Overgrown Overgrown Beyond Crazycraft Beyond Crazycraft Invicta 2 Invicta 2 Gregtech: Quantum Gregtech: Quantum CloverCraft (Season 1) CloverCraft (Season 1) PokecraftZ (A Pokémon Zombie Survival RPG) PokecraftZ (A Pokémon Zombie Survival RPG) Tank Booth: Mythos & Mechanica Tank Booth: Mythos & Mechanica Mystic's Anime Adventures Mystic's Anime Adventures Two Weeks at Freddy's (FNAF) Two Weeks at Freddy's (FNAF) Realistic Modpack - extreme survival Realistic Modpack - extreme survival Baldi's Purge Pack Baldi's Purge Pack Pixelmon+ Pixelmon+ The Official TARDIS Modpack The Official TARDIS Modpack Swords and Staffs Swords and Staffs WWII Era Warfare WWII Era Warfare Omega Adventure Pack 1.12.2 Omega Adventure Pack 1.12.2 GreenBound GreenBound TrollMods - Let the trolls begin! [Troll Wars] TrollMods - Let the trolls begin! [Troll Wars] MHAC - My Hero Academia Craft MHAC - My Hero Academia Craft Branzy's pirate Branzy's pirate Build Secure Protect Build Secure Protect Empyrean Expansion Empyrean Expansion DoomsDay Universe DoomsDay Universe Neo's Scape Server Pack Neo's Scape Server Pack Dawn and Dusk [BETA] Dawn and Dusk [BETA] EagleCraft RPG EagleCraft RPG VR Realistic Worlds 3D Server VR Realistic Worlds 3D Server MLG's Avatar: Benders of The New Age MLG's Avatar: Benders of The New Age Greek History Greek History MC Jurassic MC Jurassic Explorico Classic 1.16.5 Explorico Classic 1.16.5 Alca CrazyCraft Alca CrazyCraft Less Tech More Dragon [RETIRED] Less Tech More Dragon [RETIRED] OF-Optimized Forge OF-Optimized Forge Jurassicraft: The Lost World Jurassicraft: The Lost World HeroCraft - CrazyCraft Style HeroCraft - CrazyCraft Style Ragecraft: Tactical Warfare Ragecraft: Tactical Warfare superheroes tech superheroes tech Earth 1:1000 Modded SMP Earth 1:1000 Modded SMP Creative TFC Creative TFC Minecolonies: a Refined Creation Minecolonies: a Refined Creation Pollution of the Realms - Content Pack Pollution of the Realms - Content Pack Steamland - SP Steamland - SP Gregtech: Fallout Edition Gregtech: Fallout Edition Dimmas91: Legacy of Creation Dimmas91: Legacy of Creation Medieval Sieges and Airship warfare Medieval Sieges and Airship warfare Create: Above Eureka Create: Above Eureka Villagers + Villagers + WW2 Modpack WW2 Modpack Sylo Craft Sylo Craft Quebecs Goated Pack Quebecs Goated Pack Guns, Nukes, and Suffering (GNS) (Discontinued) Guns, Nukes, and Suffering (GNS) (Discontinued) Kinetic Worlds 5 Kinetic Worlds 5 D1ldo Craft D1ldo Craft Security Village Security Village Godzillawarz's Kitchen Sink Godzillawarz's Kitchen Sink Simply Lord of the rings Refined edition Simply Lord of the rings Refined edition Project Pokémon Project Pokémon Goofcraft 3 Goofcraft 3 Mad's Island Mad's Island Eldion Eldion Dragons and Conquest Dragons and Conquest WorkLoad WorkLoad Pixelmon Champions Pixelmon Champions Armoured Colonists Armoured Colonists Haln's Classic RPG Haln's Classic RPG Modern Warfare HBM Modern Warfare HBM Enchanted Genesis Enchanted Genesis The Fallen Worlds The Fallen Worlds Fantazy Tech Fantazy Tech Quickraft Quickraft

External Resources