Nowadays, you have many options to edit how your world generates. Bukkit got a hugely expanded world generation API in 2021, and data packs are able to take control over almost any aspect of world generation. But, how would you generate a map like this?
The answer: first, install a data pack that increases ocean size, then install WorldGeneratorApi, then run /worldgeneratorapi biomemap
.
WorldGeneratorApi is a modest API, adding some functionality for world generation. It used to be bigger, but most code has been dropped in favor of the new methods in the Bukkit API.
Please head to the wiki to learn more.
License is MIT, so you can freely use this API, even in premium plugins. Just put up a note that you're using WorldGeneratorApi.
We use Maven. Maven can be a bit tricky to install (you need to modify the environment variables of your computer), but once you have managed to do that, just run:
mvn install
You'll end up with a file ./target/WorldGeneratorApi-1.0.jar
(version number will be different of course), which is a ready-to-use plugin. There's also the file ./worldgeneratorapi/target/worldgeneratorapi-1.0.jar
, which is just the API. This file can be used by plugin developers to code against: it will not run on the server, as it is missing the implementation.
Contributions are always welcome! Just open an issue or pull request.