Skip to content

@minecraft/server


@minecraft/server / StructureCreateOptions

Interface: StructureCreateOptions ​

Defined in: @minecraft/server/index.d.ts:24788

Provides additional options for StructureManager.createFromWorld

Properties ​

includeBlocks? ​

optional includeBlocks?: boolean

Defined in: @minecraft/server/index.d.ts:24795

Remarks ​

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


includeEntities? ​

optional includeEntities?: boolean

Defined in: @minecraft/server/index.d.ts:24802

Remarks ​

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


saveMode? ​

optional saveMode?: StructureSaveMode

Defined in: @minecraft/server/index.d.ts:24809

Remarks ​

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