@minecraft/server / BlockStateType
Class: BlockStateType ​
Defined in: @minecraft/server/index.d.ts:5743
Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state.
Properties ​
id ​
readonlyid:string
Defined in: @minecraft/server/index.d.ts:5750
Remarks ​
Identifier of the block property.
validValues ​
readonlyvalidValues: (string|number|boolean)[]
Defined in: @minecraft/server/index.d.ts:5756
Remarks ​
A set of valid values for the block property.