A random whole number from min_inclusive to max_inclusive, with low values more likely.
BiasedToBottom(min_inclusive, max_inclusive) min_inclusiveintmax_inclusiveint
Helpers that build a minecraft:int_provider object, one for each of its types. Where a field takes one, write the helper's call; its
name is the type it makes. Click a type to see what it accepts.
A random whole number from min_inclusive to max_inclusive, with low values more likely.
BiasedToBottom(min_inclusive, max_inclusive) min_inclusiveint max_inclusiveint Another provider's value, kept from min_inclusive to max_inclusive.
Clamped(min_inclusive, max_inclusive, source) min_inclusiveint max_inclusiveint sourceIntProvider of int The provider to clamp.
A whole number from a bell curve around mean, kept from min_inclusive to max_inclusive.
ClampedNormal(min_inclusive, max_inclusive, mean, deviation) min_inclusiveint max_inclusiveint meannumber The most likely value.
deviationnumber How widely values spread around mean.
Always the same whole number. A plain number does the same thing.
Constant(value) valueint A whole number from min to max, most likely in a middle band plateau wide and less likely toward the ends.
Trapezoid(min, max, plateau) minint maxint plateauint Width of the most likely band in the middle. 0 gives a triangle.
A random whole number from min_inclusive to max_inclusive, each equally likely. Usually written as a range, 2..5.
Uniform(min_inclusive, max_inclusive) min_inclusiveint The smallest value.
max_inclusiveint The largest value.
PlacedFeature some_iron { feature = minecraft:ore_iron, placement = [Count(Uniform(2, 5)), InSquare()] }Like BiasedToBottom, with low values even more likely.
VeryBiasedToBottom(min_inclusive, max_inclusive) min_inclusiveint max_inclusiveint Picks one of several providers by weight.
WeightedList(distribution) distributionNonEmptyWeightedList of IntProvider of int