Edit

SetItemCountFunction Class

Extends

Loot item function that modifies the number items that drop from the loot pool entry.

Properties

count

read-only count: minecraftcommon.NumberRange;

The value range from which the function randomly chooses the number of items to drop. Contains minimum and maximum values.

Type: @minecraft/common.NumberRange