Script API - v1.26.30.25
    Preparing search index...

    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)[];
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    id: string

    Identifier of the block property.

    This property can't be read in early-execution mode.

    validValues: (string | number | boolean)[]

    A set of valid values for the block property.

    This property can't be read in early-execution mode.