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