@minecraft/server-editor
Preparing search index...
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
|
undefined
Beta
Returns
BlockType
|
undefined
get
Display
Name
getDisplayName
()
:
string
|
undefined
Beta
Returns
string
|
undefined
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.
Settings
Member Visibility
Protected
Inherited
External
World Mutation
Not Early Execution
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Block
get
Display
Name
get
Type
set
Block
@minecraft/server-editor
Loading...
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.