@minecraft/server-editor
Preparing search index...
IBlockPaletteItem
Class IBlockPaletteItem
Beta
Hierarchy (
View Summary
)
IBlockPaletteItem
ProbabilityBlockPaletteItem
SimpleBlockPaletteItem
Index
Methods
get
Block
get
Display
Name
get
Type
set
Block
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 restricted-execution 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
Methods
get
Block
get
Display
Name
get
Type
set
Block
@minecraft/server-editor
Loading...
Remarks
This function can't be called in restricted-execution mode.
Throws
This function can throw errors.