Minecraft:Commands/structure
From SAS Gaming Wiki
More actions
Template:For Template:Exclusive Template:Infobox command
Used to save and load structures without having to use Minecraft:structure blocks.
Syntax
structure save <name: string> <from: x y z> <to: x y z> [saveMode: StructureSaveMode]structure save <name: string> <from: x y z> <to: x y z> [includeEntities: Boolean] [saveMode: StructureSaveMode] [includeBlocks: Boolean]- Saves a structure.
structure load <name: string> <to: x y z> [rotation: Rotation] [mirror: Mirror] [includeEntities: Boolean] [includeBlocks: Boolean] [waterlogged: Boolean] [integrity: float] [seed: string]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]- Loads a structure.
structure delete <name: string>- Deletes saved structure file.
Arguments
- Template:Arg desc
- Should be in the format of
nameornamespace:name. If namespace is unspecified, defaults tomystructure:
Template:Argument and Template:Argument (in save mode)
- Specifies any two opposing corner blocks of the region to be saved.
- Template:Arg desc
Template:Argument (in load mode)
- Specifies the lower northwest corner of the destination region.
- Template:Arg desc
- Specifies the storage location.
- Must be one of
diskandmemory. If not specified, defaults to memory. disksaves the structure to the world database itself. After leaving and rejoining the world, the structure save files is still there.memoryonly saves the structure in memery temporarily. When leaving and rejoining the world, the structure save files are gone.
- Specifies whether including entities or not. If unspecified, defaults to
true. - Template:Arg desc
- Specifies the rotation when loading a structure. If unspecified, defaults to
0_degrees. - Must be one of
0_degrees,90_degrees,180_degrees, and270_degrees.
- Specifies the axis of mirror flip when loading a structure. If unspecified, defaults to
none. - Must be one of
x,z,xz, andnone.
- Specifies the animation to generate structures.
- Must be one of
block_by_blockandlayer_by_layer.
- Specifies the duration of the animation.
- Template:Arg desc
- Specifies whether including blocks or not. If unspecified, defaults to
true. - Template:Arg desc
- Specifies the integrity (probability of each block being loaded). If 100, all blocks in the structure are loaded. If 0, no blocks are loaded. If unspecified, defaults to
100. - Template:Arg desc Should be between 0 and 100 (inclusive).
- Specifies the seed when calculating whether a block should be loaded according to integrity. If unspecified, a random seed is taken.
- Template:Arg desc
- Specifies whether or not waterlog the blocks when the structure is loaded in water. If unspecified, defaults to
false. - Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
History
External links
Minecraft:de:Befehl/structure Minecraft:es:Comandos/structure Minecraft:ja:コマンド/structure Minecraft:pt:Comandos/structure Minecraft:ru:Команды консоли/structure Minecraft:zh:命令/structure