Configured feature/float provider
Minecraft Wiki article. Categories: Java_Edition
📌 Mirrored from Minecraft Wiki
This article is reproduced from Configured feature/float provider on the Minecraft Wiki. Mirrored from revision 2689178. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
- [String] type: The type of the float provider. One of
constant,uniform,clamped_normal, ortrapezoid.- If
typeisconstant, additional fields are as follows:
- If
- [Float] value: The constant value to use.
- If
typeisuniform, additional fields are as follows:
- If
- [Float] min_inclusive: The minimum possible value (inclusive).
- [Float] max_exclusive: The maximum possible value (exclusive). Must be larger than [Float] min_inclusive.
- If
typeisclamped_normal, additional fields are as follows:
- If
- [Float] mean: The mean.
- [Float] deviation: The deviation.
- [Float] min: The minimum value to clamp to.
- [Float] max: The maximum value to clamp to. Must be larger than [Float] min.
- If
typeistrapezoid, additional fields are as follows:
- If
- [Float] min: The minimum value.
- [Float] max: The maximum value. Must be larger than [Float] min.
- [Float] plateau: The range in the middle of the trapezoid distribution that has a uniform distribution. Must be less than or equal to
max - min
- [String] type: The type of the float provider. One of
Sources
- Configured feature/float provider — Minecraft Wiki, CC BY-NC-SA 3.0, revision 2689178.