Expand description
Vanilla-compatible value provider types (VerticalAnchor,
HeightProvider, FloatProvider).
Value providers matching vanilla’s VerticalAnchor, HeightProvider,
and FloatProvider.
JSON parsing follows vanilla’s codec shape:
VerticalAnchoris a single-key object:{"absolute": 180},{"above_bottom": 8}, or{"below_top": 1}.HeightProvideraccepts either a bareVerticalAnchor(shortcut forConstantHeight) or a typed object with a namespaced vanilla registry id, e.g.{"type": "minecraft:uniform", ...}.FloatProvideraccepts either a bare float (shortcut forConstantFloat) or a typed object with a namespaced vanilla registry id.
Structs§
- Uniform
IntProvider - Uniform inclusive int provider.
- Weighted
IntProvider - A weighted int-provider entry.
Enums§
- Float
Provider - A
float-valued provider. - Height
Provider - An
int-valued provider parameterised by world-generation bounds (min_y,height). - IntProvider
- An
int-valued provider. - Vertical
Anchor - A vertical anchor resolving to a world Y coordinate given the dimension bounds.