Class: BlockStates
Enumerates all BlockStateTypes.
Constructors
new BlockStates()
private
new BlockStates():BlockStates
Returns
Methods
get()
static
get(stateName
):BlockStateType
Parameters
Parameter | Type |
---|---|
stateName | string |
Returns
Returns the Block state instance if it is found. If the block state instance is not found returns undefined.
Remarks
Retrieves a specific block state instance.
getAll()
static
getAll():BlockStateType
[]
Returns
Remarks
Retrieves a set of all available block states.