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
EditorStructureManager
Class EditorStructureManager
Beta
Index
Methods
create
From
Clipboard
Item
get
Existing
Tags
load
Structure
save
Structure
search
Structures
Methods
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.
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.
load
Structure
loadStructure
(
location
:
string
,
id
:
string
)
:
EditorStructure
Beta
Parameters
location
:
string
id
:
string
Returns
EditorStructure
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.
save
Structure
saveStructure
(
structure
:
EditorStructure
)
:
void
Beta
Parameters
structure
:
EditorStructure
Returns
void
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
Theme
OS
Light
Dark
On This Page
Methods
create
From
Clipboard
Item
get
Existing
Tags
load
Structure
save
Structure
search
Structures
Script API - v1.21.30
Loading...
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.