User:NeunEinser/custom biomes preview

This is the structure of custom biomes. This is already prepared in 20w21a, but it didn't fully make it into that snapshot. Here is an overview of what is already there and what you can expect from this extremely powerful feature, which will likely come in one of the next snapshots. This is extracted directly from the code, but is obviously subject to change until its final implementation.


 * The root tag.
 * Optional. The parent biome. When specified, this biome is a mutated variant of the parent, which can only appear inside of the parent biome.
 * : The type of precipitation in this biome. Must be one of,   or.
 * : The category of this biome. Must be one of,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,   or.
 * : The color code of fog (RGB hex code, but hex converted to dec)
 * : Climate parameters
 * A parameter
 * : Effects that can be applied to the biome.
 * : The color code of fog (RGB hex code, but hex converted to dec)
 * : The color code of water(RGB hex code, but hex converted to dec)
 * : The color code of fog while inside of water (RGB hex code, but hex converted to dec)
 * : Optional. Sound event ID for ambient sound. Default is no ambient sound.
 * : Optional. Mood sound configuration. Default is no mood sound
 * : The sound event ID.
 * : Optional. Additions sound configuration. Default is no sound.
 * : The sound event ID.
 * : Between 0 and 1. Likelyhood of the sound to be played in a tick. 1 (or anything greater than one) is 100%.
 * : Optional. Music configuration. Default is no biome-specific music.
 * : The sound event ID.
 * : Minimum delay between 2 tracks in ticks.
 * : Maximum delay between 2 tracks in ticks.
 * : Whether currently playing music should be stopped upon entering the biome.
 * : Optional. Specifies an ambience particle that's present in the biome.
 * : The probability of creating the particle.
 * : Options for the particle.
 * : The type id of the particle
 * particle specific options
 * : The name of the surface builder being used. Must be one of,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,   or
 * : Config of the surface builder. Currently, all surface builders use the same config.
 * The blockstate used for the surface material.
 * : The block-ID
 * : Only for blocks that have block state properties. Key-value pairs of property name and value.
 * The blockstate used for the first few layers below the surface.
 * : The block-ID
 * : Only for blocks that have block state properties. Key-value pairs of property name and value.
 * The blockstate used for ocean/lake/river beds.
 * : The block-ID
 * : Only for blocks that have block state properties. Key-value pairs of property name and value.
 * : List of structure starts of structures that can generate in this biome.
 * : Name of the structure (same as in /locate)
 * : Config for this structure. Configuration depends on the structure type.
 * : Spawns of entities that spawn naturally in this biome
 * spawn type: List of spawns for this type. Must be one of,  ,  ,  ,   or
 * A spawn.
 * : The entity id.
 * : Weight that this entity is chosen for this spawner type in a spawn attempt.
 * : Minimum count of spawns in one batch.
 * : Maximum count of spawns in one batch.
 * : Carvers used for carving caves or ravines.
 * caver_name: List of carvers of this type. Either  or
 * A carver
 * : The name of the used carver. Must be one of,  ,  ,   or
 * : The configuration for the carver. Currently all carvers have the same config.
 * : Optional. Between 0 and 1. Probability for this carver being active. Default is 0, or inactive.
 * : Features that can appear in this biome.
 * generation step: List of features for this step. Must be one of,  ,  ,  ,  ,  ,   or
 * A feature.
 * : The name of the used feature.
 * : The config for this feature. Options depend on the feature type specified in name.
 * : Minimum count of spawns in one batch.
 * : Maximum count of spawns in one batch.
 * : Carvers used for carving caves or ravines.
 * caver_name: List of carvers of this type. Either  or
 * A carver
 * : The name of the used carver. Must be one of,  ,  ,   or
 * : The configuration for the carver. Currently all carvers have the same config.
 * : Optional. Between 0 and 1. Probability for this carver being active. Default is 0, or inactive.
 * : Features that can appear in this biome.
 * generation step: List of features for this step. Must be one of,  ,  ,  ,  ,  ,   or
 * A feature.
 * : The name of the used feature.
 * : The config for this feature. Options depend on the feature type specified in name.