Generating the terrain ahead of time makes the game stutter less when players head into new land. If your modpack includes Chunky, this is something you can run yourself from the console.
What pre-generation is
Minecraft builds the terrain as players move into it. That work is heavy, so heading into unexplored land can make the game hitch.
Pre-generation gets that work out of the way in advance. Build the terrain while nobody is playing, and the load during play drops.
Check whether Chunky is available
Checking is easy. With the server running, type this on the Console screen.
chunkyIf it prints a list of usage, you have it. A response such as Unknown command means the modpack does not include it.
Running it
With the server running, type these into the Console one line at a time. You do not need a leading /.
chunky world minecraft:overworld
chunky center 0 0
chunky shape square
chunky radius 3000
chunky start| Command | What it does |
|---|---|
chunky world minecraft:overworld | Picks the world to work on (the normal one) |
chunky center 0 0 | Sets the centre point (the origin) |
chunky shape square | Sets the shape to generate |
chunky radius 3000 | Sets the radius from the centre, in blocks |
chunky start | Starts it |
Once it starts, the console shows Task running for minecraft:overworld along with the number of chunks processed. When it is done you get Task finished and the total time.
Pausing, resuming and cancelling
| Command | What it does |
|---|---|
chunky pause | Pauses |
chunky continue | Carries on from where it paused |
chunky cancel | Cancels |
How long it takes, roughly
| Radius | Chunks | Disk | Time |
|---|---|---|---|
| 3,000 | about 140,000 | about 2 GB | around 10 hours |
| 5,000 | about 390,000 | about 5 GB | about a day |
| 10,000 | about 1,560,000 | about 21 GB | four to five days |
These come from running chunky radius 500 in our own testing (4,225 chunks / 18 minutes 36 seconds / about 58 MB added, so roughly 13.96 KB per chunk). Your modpack and world settings will move these numbers.
While it runs
Restarting the server stops the job. To pick it back up, run chunky continue once it is online again.