Custom dimension/Generator

The format of the compound is dependent on the value of its generator ID, or.

When the generator ID type is minecraft:noise:
 * Generation settings used for the dimension.
 * The ID of the generator (in this case, minecraft:noise).
 * The seed used to generate the dimension. In most cases, this is exactly the same as the world seed, but can be different and the dimension generated is based upon this seed and not the world seed.
 * The noise settings used in the terrain generator. Can be set to a string to use a preset defined in the folder with a list of customized options. See Custom world generation for more information.
 * Settings dictating which biomes and biome shapes.
 * The type of biome generation. Arguments lie in the biome_source compound. One of,  ,  , or.
 * If is multi_noise: 3D biome generation used in the nether, and in the overworld in snapshot 21w37a and after.
 * A preset of the set of biomes to be used, mutually exclusive with . One of  or.
 * A list of biomes, including their target noise parameters.
 * A biome and its properties
 * The biome. A single biome ID may be repeated several times with different parameters.
 * Represent optimal conditions for where the biome should be placed. These values do not affect the generation of terrain within biomes, they affect where the game chooses to place biomes. At any specific point, the biome having parameters most closely resembling the respective parameter on each noise map at that point is chosen. For example, if the point were to have values of -1 temperature, 0.2 humidity, 0.5 altitude and 0 weirdness then birch_forest_hills (-0.1t,0.2h,0.25a,0w) would be chosen over desert (0.5t,-0.5h,0a,0w). Parameter combinations should be unique in the biomes list, otherwise only the first biome entry will generate.
 * Used to place similar biomes near each other. Not to be confused with the temperature value listed on Biome.
 * Used to place similar biomes near each other.
 * Low continentalness corresponds to ocean terrain, high continentalness to inlands terrain.
 * In the overworld, high erosion corresponds to flat terrain.
 * Used for biome rarity.
 * Used to generate cave biomes. This is the only parameter that can vary when moving vertically. A depth of 0 is at the surface, a depth of 1 is at 128 blocks below the surface.
 * Similar to the other parameters but offset is 0 everywhere, thus setting this parameter nearer to 0 gives the biome a greater edge over others, all else being equal. Increasing this makes the biome rarer, without altering the biome placement.
 * The octave the first amplitude in the list is associated with. Lower values make the whole amplitudes sequence affect lower frequencies (smoother). Incrementing it by 1 doubles the frequency of the base octave.
 * The amplitudes of consecutive octaves. Octaves further down the list have higher frequencies (double at each step). Higher octaves have intrinsically lower amplitudes in Perlin noise. This list further modifies the amplitudes by making low/high frequency features more or less pronounced. The resultant Perlin noise value at a certain coordinate is not just a simple sum of the independent components.
 * An amplitude. Setting one to 0 effectively disables that frequency component.
 * Whether the biomes are large. True for biomes generation in the "Large Biomes" world type.
 * Whether the world was default_1_1.
 * If is the_end: Biome generation used in the end with biome minecraft:the_end in the center and other end biomes around.
 * If is fixed: a single biome.
 * The single biome to generate.
 * If is checkerboard: A biome generation in which biomes are square (or close to square) and repeat along the diagonals.
 * A list of biomes that repeat along the diagonals (can be more than 3).
 * Determines the size of the squares on an exponential scale. Range: (0 to 62).
 * A list of biomes that repeat along the diagonals (can be more than 3).
 * Determines the size of the squares on an exponential scale. Range: (0 to 62).

When the generator ID type is minecraft:flat (used for Superflat world generation):
 * Generation settings used for the dimension.
 * The ID of the generator (in this case, minecraft:flat).
 * Superflat settings.
 * Layer settings.
 * A superflat layer. This list is interpreted from top to bottom.
 * The number of blocks in the layer.
 * The block the layer is made of.
 * the single biome of the world
 * (optional): Whether or not to generate lakes. If set to true, then water and lava lakes generate often even in biomes where lakes don't normally generate. Lava lakes generate surrounded by different types of stone and ores from the overworld.
 * (optional): Whether or not to generate biome-specific decorations like trees, grass, flowers, cacti, etc.
 * Structure settings
 * Settings for how strongholds should be spawned. The stronghold values under the  tag appear to be placeholders so that every namespaced structure has a value; these values are the ones that actually control stronghold spawning.
 * Controls how far apart the strongholds are.
 * How many strongholds to generate.
 * List of structures to use in this dimension
 * The key for this field should be the namespaced ID of a structure, a list is available at . If structures are not listed, it does not generate.
 * Average distance between two structure placement attempts of this type in chunks.
 * Minimum distance between two structures of this type in chunks. Must be less than.
 * A number that assists in randomization; see.
 * A number that assists in randomization; see.

When the generator ID type is minecraft:debug (used for Debug world generation):
 * Generation settings used for the dimension.
 * The ID of the generator (in this case, minecraft:debug).

自定义维度/Generator