跳转至

EditorStructureManager

文档版本:1.21.60.21

EditorStructureManager类。script_api.minecraft/server-editor-bindings.editorstructuremanager.description

方法

createFromClipboardItem

script_api.minecraft/server-editor-bindings.editorstructuremanager.createfromclipboarditem.description

createFromClipboardItem(item: ClipboardItem, structureName: string): EditorStructure
getExistingTags

script_api.minecraft/server-editor-bindings.editorstructuremanager.getexistingtags.description

getExistingTags(): string[]
loadStructure

script_api.minecraft/server-editor-bindings.editorstructuremanager.loadstructure.description

loadStructure(location: string, id: string): EditorStructure
saveStructure

script_api.minecraft/server-editor-bindings.editorstructuremanager.savestructure.description

saveStructure(structure: EditorStructure): void
searchStructures

script_api.minecraft/server-editor-bindings.editorstructuremanager.searchstructures.description

searchStructures(options?: EditorStructureSearchOptions): EditorStructure[]