Configured feature/int provider
Minecraft Wiki article. Categories: Java_Edition
📌 Mirrored from Minecraft Wiki
This article is reproduced from Configured feature/int provider on the Minecraft Wiki. Mirrored from revision 3267224. 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 int provider. One of
constant,uniform,biased_to_bottom,clamped,clamped_normal, orweighted_list.- If
typeisconstant, additional fields are as follows:
- If
- [Int] value: The constant value to use.
- If
typeisuniformorbiased_to_bottom, additional fields are as follows:
- If
- [Int] min_inclusive: The minimum possible value.
- [Int] max_inclusive: The maximum possible value. Cannot be less than [Int] min_inclusive.
- If
typeisclamped, additional fields are as follows:
- If
- [Int] min_inclusive: The minimum allowed value that the number will be.
- [Int] max_inclusive: The maximum allowed value that the number will be. Cannot be less than [Int] min_inclusive.
- [Int][NBT Compound / JSON Object] source: The source int provider
- Int provider see Template:Nbt inherit/int_provider/template
- If
typeisclamped_normal, additional fields are as follows:
- [Float] mean: The mean value of the normal distribution.
- [Float] deviation: The deviation of the normal distribution.
- [Int] min_inclusive: The minimum allowed value that the number will be.
- [Int] max_inclusive: The maximum allowed value that the number will be.
- If
typeisweighted_list, additional fields are as follows:
- If
- [NBT List / JSON Array] distribution: A random pool of int providers.
- [NBT Compound / JSON Object]: One entry in the random pool.
- [Int][NBT Compound / JSON Object] data: An int.
- Int provider see Template:Nbt inherit/int_provider/template
- [Int] weight: The weight of this entry.
- [Int][NBT Compound / JSON Object] data: An int.
- [NBT Compound / JSON Object]: One entry in the random pool.
- [String] type: The type of the int provider. One of
Sources
- Configured feature/int provider — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3267224.