RandomIntSupplier
This is a random number generator.
rml:default_constant
Default parser, directly interprets the field as Integer. For example: 1
. At this time, the random number generated by the RandomIntSupplier
is always 1.
minecraft:price
Field:
min
Integer
max
Integer
Randomly select a value in [min, max]
, which conforms to the original villager trading price logic. Requirement: min must not be greater than max.
cvh:constant
Fields:
constant
Integer
cvh:poisson_distribution
Fields:
min
Integer
max
Integer
lambda
Integer
Poisson distribution, then redistribute in [min, max]
.