Yet Another Chunk Pregen
An alternative solution for chunk pregeneration when other mods of this type fail to meet your requirements.
This mod is particularly useful if previous pregeneration attempts led to server reboot loops or freezes. For instance, with resource-intensive mods like Lithosphere that may struggle with standard 5GB server RAM when using other pregeneration tools.
Key Features
- Processes one chunk per game tick
- Automatically slows down when server performance drops below 1000ms per second
- Regular console status messages every 20 ticks showing current progress
- Uses a simple linear chunk processing algorithm like a printer operation
- Stores information about already processed chunks to avoid their regeneration in the future
- Skips up to 128 chunks per tick for faster processing
- Automatic progress saving every 16 chunks
- Current version supports only overworld pregeneration
- Important to understand: the mod can still cause server shutdowns, but significantly less frequently than alternatives
Planned Improvements
- Configuration of all static values via config file
- Real-time adjustment command available during gameplay
Usage
After initial launch, a /world/yacp/task.json file is created. To edit it, you must stop the server (otherwise changes will be overwritten). Start and End coordinates are specified in chunks, not blocks! Make sure Start always has a lower value than End. To start a new task, set the At value equal to Start and change Complete to false. The Processed and Existing parameters contain statistics from the previous session.
Known Issues
After completing pregeneration and subsequently enabling cartography with Blueprint, some chunks might be missing (black areas without texture on the map). Solution: delete all .yacp cache files and run the pregeneration process again. Subsequent runs will be much faster since most chunks are already generated, and server load will be minimal.