@minecraft/server-editor
Preparing search index...
EditorStructureManager
Class EditorStructureManager
Beta
Index
Methods
create
Empty
create
From
Clipboard
Item
delete
Structure
get
Existing
Tags
get
Or
Create
Structure
search
Structures
Methods
create
Empty
createEmpty
(
id
:
string
,
size
:
Vector3
)
:
EditorStructure
Beta
Parameters
id
:
string
size
:
Vector3
Returns
EditorStructure
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
create
From
Clipboard
Item
createFromClipboardItem
(
item
:
ClipboardItem
,
structureName
:
string
,
)
:
EditorStructure
Beta
Parameters
item
:
ClipboardItem
structureName
:
string
Returns
EditorStructure
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
delete
Structure
deleteStructure
(
id
:
string
)
:
void
Beta
Parameters
id
:
string
Returns
void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
get
Existing
Tags
getExistingTags
()
:
string
[]
Beta
Returns
string
[]
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
get
Or
Create
Structure
getOrCreateStructure
(
id
:
string
)
:
EditorStructure
Beta
Parameters
id
:
string
Returns
EditorStructure
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
search
Structures
searchStructures
(
options
?:
EditorStructureSearchOptions
)
:
EditorStructure
[]
Beta
Parameters
Optional
options
:
EditorStructureSearchOptions
Returns
EditorStructure
[]
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
Methods
create
Empty
create
From
Clipboard
Item
delete
Structure
get
Existing
Tags
get
Or
Create
Structure
search
Structures
@minecraft/server-editor
Loading...
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.