49,395 Downloads Last Updated: Mar 16, 2018 Game Version: 1.12

A small mod that adds a command to allow players to pre-generate chunks.


  • Pre-generate chunks
  • Server side only required
  • Ability to generate an area of chunks every time a world loads.


This mod adds the following command to Minecraft:

/chunkgen <x> <y> <height> <width> [dimension]

where x and y are the origin chunk coordinates, height and width describe a rectangle centered at x,y of chunks to generate and dimension is the dimension ID to generate the chunks in.

All arguments should be whole numbers, however x and y may also be ~ which represents the players current position.

dimension is an optional argument.

/chunkgen stop

Can be used to stop an in-progress chunk generation.

Config File

The config file for chunkgen is in the expected place (config/chunkgen.cfg). Setting width andheight to something non-zero will allow you to generate extra chunks as the world is loading. This will run everytime the world is loaded, however it will not overwrite chunks that have already been generated. There are also no performance hits from doing this.

The value numChunksPerTick dictates how many chunks are generated per Server Tick. The default value is 1. Take care when setting this value as it may cause severe lag if set too high.

Configuration values can be set via the in-game Mod Config menu.

Feature Request
Either submit a pull request, or open an issue and label it as a feature-request.

Feel free to use this mod in any modpack or server, however please credit me (gecgooden).


  • To post a comment, please or register a new account.
Posts Quoted: