For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/StructureCreateOptions.md.

Interface: StructureCreateOptions

Beta

StructureManager.createFromWorld 提供额外的选项。

Provides additional options for StructureManager.createFromWorld

Properties

includeBlocks?

optional includeBlocks?: boolean

Beta

Remarks

方块是否应包含在结构中。默认为 true

Whether blocks should be included in the structure. Defaults to true.


includeEntities?

optional includeEntities?: boolean

Beta

Remarks

实体是否应包含在结构中。默认为 true

Whether entities should be included in the structure. Defaults to true.


saveMode?

optional saveMode?: StructureSaveMode

Beta

Remarks

结构的保存方式。默认为 StructureSaveMode.World

How the Structure should be saved. Defaults to StructureSaveMode.World.