Where StructureManager.createFromWorld keeps a structure.
Enum in @minecraft/server
Where StructureManager.createFromWorld keeps a structure.
import { StructureSaveMode } from '@minecraft/server';Example
Section titled “Example”import { StructureSaveMode } from '@minecraft/server';
const value: StructureSaveMode = StructureSaveMode.Memory;console.log(value); // "Memory"import { StructureSaveMode } from '@minecraft/server';
const value = StructureSaveMode.Memory;console.log(value); // "Memory"Values
Section titled “Values”| Name | Value | Description |
|---|---|---|
Memory |
"Memory" |
Gone when the server stops. |
World |
"World" |
Kept in the world’s database. |