Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    World

    Structure

    A structure: .mcstructure files under the server's structures/, the world's, or ones made in memory.

    4 properties
    On this page

    Class in @minecraft/server

    A structure: .mcstructure files under the server’s structures/, the world’s, or ones made in memory.

    import { Structure } from '@minecraft/server';

    read-only

    readonly id: string;

    namespace:name; structures/vault/door.mcstructure is vault:door.

    read-only

    readonly size: Vector3;
    Types

    read-only

    readonly source: "Memory" | "World" | "Folder";

    Where it was found.

    read-only

    readonly isValid: boolean;

    False once deleted.

    StructureManager.get, StructureManager.place, StructureManager.createFromWorld, StructureManager.delete, World.loadStructure