Minecraft Wiki
Advertisement
    • Specifying a constant height:
    • Choices for a vertical anchor (must choose only one of three)
    • Either specifying a constant height directly as above, or specifying the types and additional fields as below:
    •  type: The type of the height provider. One of constant (specify a constant height), uniform (random value in a uniform distribution), biased_to_bottom (random value, biased towards the bottom), very_biased_to_bottom (random value [needs testing]), trapezoid (random value, isosceles trapezoidal distribution), and weighted_list (random value from a weighted list).
      If type is constant, additional fields are as follows:
    •  value: The vertical anchor to use as constant height.
      • Choices for a vertical anchor (must choose only one of three)
      If type is uniform, additional fields are as follows:
    •  min_inclusive: The vertical anchor to use as minimum height.
      • Choices for a vertical anchor (must choose only one of three)
    •  max_inclusive: The vertical anchor to use as maximum height.
      • Choices for a vertical anchor (must choose only one of three)
      If type is biased_to_bottom or very_biased_to_bottom, additional fields are as follows:
    •  min_inclusive: The vertical anchor to use as minimum height.
      • Choices for a vertical anchor (must choose only one of three)
    •  max_inclusive: The vertical anchor to use as maximum height.
      • Choices for a vertical anchor (must choose only one of three)
    •  inner: (optional, defaults to 1) The inner value. Must be at least 1.
      If type is trapezoid, additional fields are as follows:
    •  min_inclusive: The vertical anchor to use as minimum height.
      • Choices for a vertical anchor (must choose only one of three)
    •  max_inclusive: The vertical anchor to use as maximum height.
      • Choices for a vertical anchor (must choose only one of three)
    •  plateau: (optional, defaults to 0) The length of the range in the middle of the trapezoid distribution that has a uniform distribution.
      If type is weighted_list, additional fields are as follows:
    •  distribution: (Cannot be empty) A random weighted pool of height providers.
      • One entry in the random pool.
        •  data: A height provider.
          • Height provider
        •  weight: The weight of this entry.
Advertisement