@minecraft/server / RandomBlockStateFunction
Class: RandomBlockStateFunction ​
Defined in: @minecraft/server/index.d.ts:18864
Loot item function that randomly modifies the block state of the item dropped.
Extends ​
Properties ​
blockState ​
readonlyblockState:string
Defined in: @minecraft/server/index.d.ts:18866
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
values ​
readonlyvalues:NumberRange
Defined in: @minecraft/server/index.d.ts:18874
Remarks ​
The range from which the function randomly chooses the value to assign to the given block state. Contains minimum and maximum values.