WorldGeneratorApi icon

WorldGeneratorApi -----

Advanced but easy to use API to customize your terrain




More infomration on the API changes is available on Github

  • 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)
----------, Oct 24, 2021

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.
----------, Aug 27, 2021

  • Fixed passive land mobs and mobs specific to structures not spawning.
  • Fixed an error when TerrainSettings.stoneBlock or TerrainSettings.waterBlock were null.
----------, Jun 29, 2021

  • 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.
----------, Jun 24, 2021

  • Updated to Minecraft 1.16.5. (Spigot renamed a field in the biome generator.)
----------, Jan 24, 2021

  • Fixed world generator injections not being performed when an org.bukkit.generator.ChunkGenerator is assigned to another world. Fixes //regen in WorldEdit.
----------, Dec 31, 2020

  • 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!

(Note: this is a reupload of 1.1.2, since previously only the API jar was uploaded, which cannot run.)
----------, Nov 9, 2020

  • 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!
(Note: this is a reupload of 1.1.2, as I accidentally uploaded the API file before, which is intended for plugin developers, and doesn't run on a server.)
----------, Nov 5, 2020

  • 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!
----------, Nov 4, 2020

  • Fix decorations being spawned multiple times.
  • Fix biome returning as null in DecorationArea.
----------, Sep 20, 2020

  • 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.
----------, Aug 18, 2020

  • Fixed setBiomeGenerator throwing an exception.
----------, Jul 8, 2020

  • Updated to Minecraft 1.16.
  • Added new DecorationType enum values to support Minecraft 1.16.
----------, Jul 5, 2020

  • Maven repo is not at codemc.io. See the wiki.
  • Added a BiomeGenerator parameter to BaseTerrainGenerator.getHeight. The old method is still supported, but deprecated.
  • Fixed a NullPointerException when setting a biome generator when no custom chunk generator was set.
  • Fixed the vanilla terrain generator ignoring your custom biome generators.

Note on the future: the Minecraft 1.16 update is right around the corner. In case you haven't noticed, that update adds a lot of configuration files for world generation. This will allow you to finetine all vanilla resources, which wasn't possible before. WorldGeneratorApi will of course be updated to 1.16, so that you can still create custom resources, biome layouts and terrain shapes.
----------, Jun 6, 2020

Resource Information
Author:
----------
Total Downloads: 2,421
First Release: Apr 26, 2020
Last Update: Oct 24, 2021
Category: ---------------
All-Time Rating:
6 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings