Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state.
export class BlockStateType { private constructor(); readonly id: string; readonly validValues: (boolean | number | string)[];} Copy
export class BlockStateType { private constructor(); readonly id: string; readonly validValues: (boolean | number | string)[];}
Private
Readonly
Identifier of the block property.
This property can't be read in early-execution mode.
A set of valid values for the block property.
Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state.
Source