Skip to content

@minecraft/server


@minecraft/server / StructureSaveMode

Enumeration: StructureSaveMode ​

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

Specifies how a structure should be saved.

Enumeration Members ​

Memory ​

Memory: "Memory"

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

Remarks ​

The structure will be temporarily saved to memory. The structure will persist until the world is shut down.


World ​

World: "World"

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

Remarks ​

The structure will be saved to the world file and persist between world loads. A saved structure can be removed from the world via @minecraft/server.StructureManager.delete.