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:

minInteger

maxInteger

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:

constantInteger

cvh:poisson_distribution

Fields:

minInteger

maxInteger

lambdaInteger

Poisson distribution, then redistribute in [min, max].