@minecraft/server / RandomAuxValueFunction
Class: RandomAuxValueFunction ​
Defined in: @minecraft/server/index.d.ts:18848
Loot item function that randomly modifies the data value of the item dropped.
Extends ​
Properties ​
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
values ​
readonlyvalues:NumberRange
Defined in: @minecraft/server/index.d.ts:18856
Remarks ​
The value range from which the function randomly chooses the data value to assign. Contains minimum and maximum values.