Class: IBlockPaletteItem
Extended by
Constructors
new IBlockPaletteItem()
private
new IBlockPaletteItem():IBlockPaletteItem
Returns
Methods
getBlock()
getBlock():
BlockType
Returns
BlockType
getDisplayName()
getDisplayName():
string
Returns
string
getType()
getType():
BlockPaletteItemType
Returns
setBlock()
setBlock(
block
):void
Parameters
Parameter | Type |
---|---|
block | string | BlockType | BlockPermutation |
Returns
void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error