mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 19:51:30 +01:00
#737: Update WorldCreator#generatorSettings docs
By: Martoph <sager1018@gmail.com>
This commit is contained in:
parent
d72a32d114
commit
e795b5d12f
@ -314,11 +314,9 @@ public class WorldCreator {
|
||||
* Sets the generator settings of the world that will be created or loaded.
|
||||
* <p>
|
||||
* 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
|
||||
* above) defined. Note the occurrence of "structures" twice (nested
|
||||
* compound may be empty, both must exist.). An example valid configuration
|
||||
* 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>
|
||||
* them to be in JSON format with a valid biome (1.18.2 and
|
||||
* above) defined. An example valid configuration is as follows:
|
||||
* <code>{"layers": [{"block": "stone", "height": 1}, {"block": "grass_block", "height": 1}], "biome":"plains"}</code>
|
||||
*
|
||||
* @param generatorSettings The settings that should be used by the
|
||||
* generator
|
||||
|
Loading…
Reference in New Issue
Block a user