@minecraft/server
    Preparing search index...

    Class BlockStateTypeBeta

    Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state.

    Index

    Properties

    Properties

    id: string

    Identifier of the block property.

    validValues: (string | number | boolean)[]

    A set of valid values for the block property.