Class IBlockPaletteItemBeta
Methods
getBlock
getBlock(): undefined | BlockType Beta
Returns undefined | BlockType
getDisplayName
getDisplayName(): undefined | string Beta
Returns undefined | string
getType
Beta
setBlock
setBlock(block: string | BlockPermutation | BlockType): void Beta
Parameters
- block: string | BlockPermutation | BlockType
Returns void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.