Preparing search index...
The search index is not available
Script API - v1.21.30
Script API - v1.21.30
@minecraft/server-editor@0.1.0-beta
SimpleBlockPaletteItem
Class SimpleBlockPaletteItem
Beta
Hierarchy (
View Summary
)
IBlockPaletteItem
SimpleBlockPaletteItem
Index
Constructors
constructor
Methods
get
Block
get
Display
Name
get
Type
set
Block
Constructors
constructor
new
SimpleBlockPaletteItem
(
displayName
?:
string
)
:
SimpleBlockPaletteItem
Beta
Parameters
Optional
displayName
:
string
Returns
SimpleBlockPaletteItem
Methods
get
Block
getBlock
()
:
BlockType
Beta
Returns
BlockType
get
Display
Name
getDisplayName
()
:
string
Beta
Returns
string
get
Type
getType
()
:
BlockPaletteItemType
Beta
Returns
BlockPaletteItemType
set
Block
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.
Error
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Block
get
Display
Name
get
Type
set
Block
Script API - v1.21.30
Loading...
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
Error