#737: Update WorldCreator#generatorSettings docs

By: Martoph <sager1018@gmail.com>
This commit is contained in:
Bukkit/Spigot 2022-03-27 16:25:51 +11:00
parent d72a32d114
commit e795b5d12f

View File

@ -314,11 +314,9 @@ public class WorldCreator {
* Sets the generator settings of the world that will be created or loaded. * Sets the generator settings of the world that will be created or loaded.
* <p> * <p>
* Currently only {@link WorldType#FLAT} uses these settings, and expects * Currently only {@link WorldType#FLAT} uses these settings, and expects
* them to be in JSON format with a valid biome AND structures (1.16 and * them to be in JSON format with a valid biome (1.18.2 and
* above) defined. Note the occurrence of "structures" twice (nested * above) defined. An example valid configuration is as follows:
* compound may be empty, both must exist.). An example valid configuration * <code>{"layers": [{"block": "stone", "height": 1}, {"block": "grass_block", "height": 1}], "biome":"plains"}</code>
* is as follows:
* <code>{"structures": {"structures": {"village": {"salt": 8015723, "spacing": 32, "separation": 8}}}, "layers": [{"block": "stone", "height": 1}, {"block": "grass", "height": 1}], "biome":"plains"}</code>
* *
* @param generatorSettings The settings that should be used by the * @param generatorSettings The settings that should be used by the
* generator * generator