Skip to main content

Class: BlockStateType

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

Constructors

new BlockStateType()

private new BlockStateType(): BlockStateType

Returns

BlockStateType

Properties

id

readonly id: string

Remarks

Identifier of the block property.


validValues

readonly validValues: (string | number | boolean)[]

Remarks

A set of valid values for the block property.