@minecraft/server
    Preparing search index...

    Class BlockStatesBeta

    Enumerates all BlockStateTypes.

    Index

    Methods

    Methods

    • Beta

      Parameters

      • stateName: string

      Returns undefined | BlockStateType

      Returns the Block state instance if it is found. If the block state instance is not found returns undefined.

      Retrieves a specific block state instance.

    • Beta

      Returns BlockStateType[]

      Retrieves a set of all available block states.