Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Releases: rutgerkok/WorldGeneratorApi

WorldGeneratorApi 1.3 (for Minecraft 1.17)

24 Oct 19:31
Compare
Choose a tag to compare

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.

WorldGeneratorApi 1.2.2 (for Minecraft 1.17)

27 Aug 18:59
Compare
Choose a tag to compare

Bukkit introduced a new world generator API. This is great news, as most world generator plugins will no longer need to use NMS or this API. This is just a quick update to make sure that this API still works with the latest Spigot builds. In the future, this API will need a redesign so that all overlapping functionality is removed from this API.

  • Updated to be compatible with latest Spigot builds, with the new world generator.
  • Fix missed function update in ChunkData.setBlock. (By @SuperSpyTX )
  • If changing the NoiseGeneratorSettings fails, a more descriptive error message is now printed.

WorldGeneratorApi 1.2.1 (for Minecraft 1.17)

29 Jun 17:27
Compare
Choose a tag to compare
  • Fixed passive land mobs and mobs specific to structures not spawning.
  • Fixed an error when TerrainSettings.stoneBlock or TerrainSettings.waterBlock were null.

WorldGeneratorApi 1.2.0 (for Minecraft 1.17)

24 Jun 19:38
Compare
Choose a tag to compare
  • Updated to Minecraft 1.17.
  • Added getHighestBlockYAt(x, z) to DecorationArea.
  • Added spawnEntity(entityClass, x, y, z) to DecorationArea.

Note: worlds with extended height are currently untested. They'll likely work, but maybe trying to modify the base shape of the terrain will produce an error. Please let me know if that's the case.

WorldGeneratorApi 1.1.4 (for Minecraft 1.16.5)

24 Jan 14:19
Compare
Choose a tag to compare
  • Updated to Minecraft 1.16.5. (Spigot renamed a field in the biome generator.)

WorldGeneratorApi 1.1.3 (for Minecraft 1.16.4)

31 Dec 14:28
Compare
Choose a tag to compare
  • Fixed world generator injections not being performed when an org.bukkit.generator.ChunkGenerator is assigned to another world. Fixes //regen in WorldEdit.

WorldGeneratorApi 1.1.2 (for Minecraft 1.16.4)

04 Nov 20:03
Compare
Choose a tag to compare
  • Updated to Minecraft 1.16.4. No longer compatible with Minecraft 1.16.3 or older.
  • Fix NoiseToTerrainGenerator not respecting a change of BiomeGenerator.
  • Fix incorrect generator settings being used for Nether and End dimensions. Thanks @ChimneySwift!

WorldGeneratorApi 1.1.1 (for Minecraft 1.16.2-1.16.3)

20 Sep 15:06
Compare
Choose a tag to compare
  • Fix decorations being spawned multiple times.
  • Fix biome returning as null in DecorationArea.

WorldGeneratorApi 1.1 (for Minecraft 1.16.2)

18 Aug 11:16
Compare
Choose a tag to compare
  • Updated to Minecraft 1.16.2. No longer compatible with 1.16.1 or older.
  • Fixed a crash when Minecraft attempts to save settings of a custom biome generator.
  • Fixed initial spawn chunks not being affected when modifying the world generator using the WorldGeneratorInitEvent.

WorldGeneratorApi 1.0.1 (for Minecraft 1.16)

08 Jul 20:18
Compare
Choose a tag to compare
  • Fixed setBiomeGenerator throwing an exception.