Introduction
This datapack was created to generate very large worlds for analysis by MCResourceAnalyzer. It can also be used to pregenerate a world for a server to reduce load when players travel away from the spawnpoint, or for any other use that might require a large number of chunks to be generated beforehand.
While this datapack was inspired by a similar project by BlueCommander, it does not use any functions or other content from BlueCommander's work.
If you have any questions or suggestions, feel free to contact me.
Downloads
- world-pregenerator-1.20.2.zip (JE 1.20.2)
- world-pregenerator-1.20.zip (JE 1.20)
- world-pregenerator-1.19.4.zip (JE 1.19.4)
- world-pregenerator-1.18.zip (JE 1.18)
- world-pregenerator-1.17.zip (JE 1.17)
How to use the datapack
Installation
To add the datapack to a new world during world creation, click the Data Packs button, then the Open Pack Folder button, and copy the datapack into the folder.
If you would like to add the datapack to an existing world, simply copy the datapack into your world's datapacks
folder (.minecraft/saves/[name]/datapacks
).
After installation
If the datapack has been installed correctly, a chat message should appear when joining the world (if the pack was added on world creation) or after using the /reload
command (if the pack was added to an existing world). If no message appeared in chat, run the following command: /function wpg:init
The datapack can be operated either using the aforementioned chat message or using functions. The available functions are as follows:
/function wpg:init | If the datapack failed to be initialized automatically, use this to initialize it manually. |
/function wpg:start | Start the world pregeneration process. |
/function wpg:reset | Stop the world pregeneration process and reset its progress. |
/function wpg:uninstall | Remove the datapack's scoreboard objective. The datapack must be removed from the world's datapacks folder in order to fully uninstall it. |