Provides additional options for StructureManager.createFromWorld

interface StructureCreateOptions {
    includeBlocks?: boolean;
    includeEntities?: boolean;
    saveMode?: StructureSaveMode;
}

Properties

includeBlocks?: boolean

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

includeEntities?: boolean

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

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