Custom world generation/structure set

* : Root object.
** : (Required, but can be empty) The structures that may be placed. One configured structure feature shouldn't be included by two structure sets.
*** : A structure to be placed.
**** : The configured structure feature to be placed. Can be a namespaced ID or an object of configured structure feature.
**** : Determines the chance of it being chosen over others. Must be a positive integer.
**: How the structures should be placed.
*** : A number that assists in randomization; see . Must be a non-negative integer.
*** : (Optional, default to 1.0) Probability to try to generate if other conditions below are met. Values between 0.0 to 1.0 (inclusive). Setting it to a number does not mean one structure is generated this often, only that the game attempts to generate one; biomes or terrain could lead to the structure not being generated.
*** : (Optional, defaults to default) Provides a random number generator algorithm for frequency. One of default (the random number depends on the the seed, position and ), legacy_type_1 (the random number depends only on the seed and position, and randomness only occurs when the locations differ greatly), legacy_type_2 (same as default, but with fixed salt: 10387320) and legacy_type_3 (the random number depends only on seed and position).
*** : Specifies that it cannot be placed near certain structures.
**** : Value betwenn 1 and 16 (inclusive).
**** : A structure set ID.
*** : (optional, defaults to [0,0,0]) The chunk coordinate offset given when using .
**** : X. Value between -16 and 16 (inclusive).
**** : Y. Value between -16 and 16 (inclusive).
**** : Z. Value between -16 and 16 (inclusive).
*** : One of minecraft:concentric_rings or minecraft:random_spread.
***; If type is minecraft:concentric_rings (distributed like strongholds), additional fields are as follows:
*** : The thickness of a ring plus that of a gap between two rings. Value between 0 and 1023 (inclusive). Unit is 6 chunks
*** : The total number of generation attempts in this dimension. Value between 1 and 4095 (inclusive).
*** : Biomes in which the structure is likely to be generated. Can be a biome ID or a biome tag, or a list of biome IDs.
*** : How many attempts are on the closest ring to spawn. Value between 0 and 1023 (inclusive). The number of attempts on the Nth ring is: spread * (N^2 + 3 * N + 2) / 6, until the number of attempts reaches the total .
***; If type is minecraft:random_spread (distributed like bastion remnants or swamp huts), additional fields are as follows:
*** : (optional, defaults to linear) One of linear or triangular.
*** : Average distance between two neighboring generation attempts. Value between 0 and 4096 (inclusive).
*** : Minimum distance (in chunks) between two neighboring attempts. Value between 0 and 4096 (inclusive). And be not bigger than . The maximum distance of two neighboring generation attempts is .
Category:Java Edition
Category:Data packs
ja:カスタムワールド生成/structure set
zh:自定义世界生成/structure set