This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
Since Bukkit now has a new world generator API, a large part of this API is now obsolete. That part has been marked as deprecated. For now, it should still work, but I'm not planning to upgrade that part to Minecraft 1.18.
Migration
First, read up on the new API over here. Next, migrate your algorithms to use the new API. Chances are you will no longer need WorldGeneratorApi.
If you use a noise generator for chunks, or if you extend the vanilla biome generator, you'll still need WorldGeneratorApi. The new methods below will be of interest for you.
Changelog
- Deprecated most of the API, as it's superseded by the new Bukkit API. Will be removed in Minecraft 1.18.
- Added a message when a plugin is built against an older version of WorldGeneratorApi, because those plugins will become incompatible with Minecraft 1.18.
- Updated for a tile entity change in Spigot.
- Added
WorldGeneratorApi.createBasePopulatorFromNoiseFunction(BaseNoiseProvider)
- Added
WorldGeneratorApi.setBiomeProvider(World, BiomeProvider)
- Added
WorldGeneratorApi.getBiomeProvider(WorldInfo)
This should make sure that all plugins that relied on WorldGeneratorApi can be ported. If you're still missing something, let me know.