Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Saves or loads a structure in the world. See examples of this command in use in the Structure Blocks documentation.
| Permission Level | Game Directors |
|---|---|
| Requires Cheats? | Yes |
Usage
Save structure, optional save mode
/structure save <name: string> <from: x y z> <to: x y z> [includeEntities: Boolean] [includeBlocks: Boolean]
Save a structure with required structure name, from, and to, and an optional save mode.
Save structure, optional entities, blocks, save mode
/structure delete <name: string>
Save a structure with required structure name, from, and to, and optional entities, blocks, and save mode.
Load structure, optional animation mode, animation seconds
/structure load <name: string> <to: x y z> [rotation: Rotation] [mirror: Mirror] [includeEntities: Boolean] [includeBlocks: Boolean] [waterlogged: Boolean] [integrity: float] [seed: string]
Load a structure with required structure name and to, and optional rotation, mirror, animation mode, animation seconds, entities, blocks, integrity, and seed.
/structure load <name: string> <to: x y z> [rotation: Rotation] [mirror: Mirror] [animationMode: StructureAnimationMode] [animationSeconds: float] [includeEntities: Boolean] [includeBlocks: Boolean] [waterlogged: Boolean] [integrity: float] [seed: string]
Arguments
animationMode: StructureAnimationMode Anenumofblock_by_blockto load blocks in one at a time orlayer_by_layerto load them in in layers. Default:none.animationSeconds: float Afloatof the duration of the time to animate the structure loading in. Default:0.0.from: x y z: position Avectorused withtothat specifies the opposing corners of a structure.includeBlocks: Boolean ABooleanthat specifies whether to save or load blocks inside the structure. Default:true.includeEntities: Boolean ABooleanthat specifies whether to save or load entities inside the structure. Default:true.integrity: float Afloatthat specifies the percentage likelihood a block will load. 100 loads all blocks, 0 loads none. Default: 100.mirror: Mirror Anenumthat specifies the axis to mirror when loading a structure. Either0_degrees,90_degrees,180_degrees, or270_degrees. Default:none.name: string Astringthat specifies the name of the structure. May include a namespace.rotation: Rotation Anenumof the rotation when loading in a structure. Must be one of0_degrees,90_degrees,180_degrees, or270_degrees. Default:none.seed: string Astringthat specifies the seed when loading in a block with variable integrity.to: x y z: position Avectorused withfromthat specifies the opposing corners of a structure.waterlogged: Boolean
Enums
Mirror
An enum of 0 for none, 1 to mirror X, 2 to mirror Z, or 3 to mirror XZ.
Values
xx - choose '1' to mirror xzz - choose '2' to mirror znonenone - choose '0' for nonexzxz - choose '3' to mirror xz
Rotation
An enum of the rotation when loading in a structure. Must be one of 0_degrees, 90_degrees, 180_degrees, or 270_degrees.
Default: 0_degrees.
Values
0_degreesNo rotation90_degreesRotate 90 degrees180_degreesRotate 180 degrees270_degreesRotate 270 degrees
StructureAnimationMode
Enum of Structure Animation Mode
Values
block_by_blockBlock by Blocklayer_by_layerLayer by Layer