类 BlockStateType实验性

表示方块实例的一个可配置状态值。 例如,楼梯的朝向可以作为一个方块状态来访问。

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

属性

id: string

方块属性的标识符。

Identifier of the block property.

validValues: (string | number | boolean)[]

方块属性的一组有效值。

A set of valid values for the block property.