- 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), andweighted_list
(random value from a weighted list).- If
type
isconstant
, additional fields are as follows:
- If
- value: The vertical anchor to use as constant height.
- Choices for a vertical anchor (must choose only one of three)
- If
type
isuniform
, 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
isbiased_to_bottom
orvery_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
istrapezoid
, additional fields are as follows:
- If
- 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
isweighted_list
, additional fields are as follows:
- If
- 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.
- data: A height provider.
- One entry in the random pool.
Advertisement
Custom world generation/height provider
Advertisement