Loot item function that randomly modifies the data value of the item dropped.
export class RandomAuxValueFunction extends LootItemFunction { private constructor(); readonly values: minecraftcommon.NumberRange;} Copy
export class RandomAuxValueFunction extends LootItemFunction { private constructor(); readonly values: minecraftcommon.NumberRange;}
Private
Readonly
The value range from which the function randomly chooses the data value to assign. Contains minimum and maximum values.
This property can't be read in early-execution mode.
Loot item function that randomly modifies the data value of the item dropped.
Source