The RandomBlockStateFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { RandomBlockStateFunction } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”blockState
Section titled “blockState”read-only
readonly blockState: string;values
Section titled “values”read-only
readonly values: NumberRange;Types
Inherited
Section titled “Inherited”From LootItemFunction: conditions