Loot item function that randomly modifies the block state of the item dropped.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

blockState: string
conditions: LootItemCondition[]
values: NumberRange

The range from which the function randomly chooses the value to assign to the given block state. Contains minimum and maximum values.