The BlockStates class in @minecraft/server.
Class in @minecraft/server
import { BlockStates } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”static
static get(stateName: string): BlockStateType | undefined;Parameters
stateNamestring
Returns
BlockStateType | undefinedTypes
getAll
Section titled “getAll”static
static getAll(): BlockStateType[];Returns
BlockStateType[]Types