You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
WorldGeneratorApi.createBasePopulatorFromNoiseFunction(BaseNoiseProvider)
WorldGeneratorApi.setBiomeProvider(World, BiomeProvider)
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.
This discussion was created from the release WorldGeneratorApi 1.3.0 (for Minecraft 1.17).
Beta Was this translation helpful? Give feedback.
All reactions