/structure¶
文档版本:1.21.60.21
/structure命令command.structure.description
执行条件
该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。
用法¶
command.structure.1.description
action:StructureSaveAction- 枚举类型。command.enum.structuresaveaction.description单值枚举,请直接使用
save。 name:string- 基本类型。command.structure.name.description
from:x y z- 基本类型。command.structure.from.description
to:x y z- 基本类型。command.structure.to.description
saveMode:StructureSaveMode- 枚举类型,可选。command.enum.structuresavemode.description枚举值如下:
-
值 描述 diskcommand.enum.structuresavemode.disk memorycommand.enum.structuresavemode.memory
/structure save <name:string> <from:x y z> <to:x y z> [includeEntities:Boolean] [saveMode:StructureSaveMode] [includeBlocks:Boolean]
command.structure.2.description
action:StructureSaveAction- 枚举类型。command.enum.structuresaveaction.description单值枚举,请直接使用
save。 name:string- 基本类型。command.structure.name.description
from:x y z- 基本类型。command.structure.from.description
to:x y z- 基本类型。command.structure.to.description
includeEntities:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 saveMode:StructureSaveMode- 枚举类型,可选。command.enum.structuresavemode.description枚举值如下:
-
值 描述 diskcommand.enum.structuresavemode.disk memorycommand.enum.structuresavemode.memory includeBlocks:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否
command.structure.3.description
action:StructureDeleteAction- 枚举类型。command.enum.structuredeleteaction.description单值枚举,请直接使用
delete。 name:string- 基本类型。command.structure.name.description
/structure load <name:string> <to:x y z> [rotation:Rotation] [mirror:Mirror] [includeEntities:Boolean] [includeBlocks:Boolean] [integrity:float] [seed:string]
≤21 command.structure.4.description
action:StructureLoadAction- 枚举类型。command.enum.structureloadaction.description单值枚举,请直接使用
load。 name:string- 基本类型。command.structure.name.description
to:x y z- 基本类型。command.structure.to.description
rotation:Rotation- 枚举类型,可选。command.enum.rotation.description枚举值如下:
-
值 描述 0_degreescommand.enum.rotation.0_degrees 90_degreescommand.enum.rotation.90_degrees 180_degreescommand.enum.rotation.180_degrees 270_degreescommand.enum.rotation.270_degrees mirror:Mirror- 枚举类型,可选。command.enum.mirror.description枚举值如下:
-
值 描述 xcommand.enum.mirror.x zcommand.enum.mirror.z nonecommand.enum.mirror.none xzcommand.enum.mirror.xz includeEntities:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 includeBlocks:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 integrity:float- 基本类型,可选。command.structure.integrity.description
seed:string- 基本类型,可选。command.structure.seed.description
/structure load <name:string> <to:x y z> [rotation:Rotation] [mirror:Mirror] [animationMode:StructureAnimationMode] [animationSeconds:float] [includeEntities:Boolean] [includeBlocks:Boolean] [integrity:float] [seed:string]
≤21 command.structure.5.description
action:StructureLoadAction- 枚举类型。command.enum.structureloadaction.description单值枚举,请直接使用
load。 name:string- 基本类型。command.structure.name.description
to:x y z- 基本类型。command.structure.to.description
rotation:Rotation- 枚举类型,可选。command.enum.rotation.description枚举值如下:
-
值 描述 0_degreescommand.enum.rotation.0_degrees 90_degreescommand.enum.rotation.90_degrees 180_degreescommand.enum.rotation.180_degrees 270_degreescommand.enum.rotation.270_degrees mirror:Mirror- 枚举类型,可选。command.enum.mirror.description枚举值如下:
-
值 描述 xcommand.enum.mirror.x zcommand.enum.mirror.z nonecommand.enum.mirror.none xzcommand.enum.mirror.xz animationMode:StructureAnimationMode- 枚举类型,可选。command.enum.structureanimationmode.description枚举值如下:
-
值 描述 block_by_blockcommand.enum.structureanimationmode.block_by_block layer_by_layercommand.enum.structureanimationmode.layer_by_layer animationSeconds:float- 基本类型,可选。command.structure.animationSeconds.description
includeEntities:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 includeBlocks:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 integrity:float- 基本类型,可选。command.structure.integrity.description
seed:string- 基本类型,可选。command.structure.seed.description
/structure load <name:string> <to:x y z> [rotation:Rotation] [mirror:Mirror] [includeEntities:Boolean] [includeBlocks:Boolean] [waterlogged:Boolean] [integrity:float] [seed:string]
22≤ command.structure.6.description
action:StructureLoadAction- 枚举类型。command.enum.structureloadaction.description单值枚举,请直接使用
load。 name:string- 基本类型。command.structure.name.description
to:x y z- 基本类型。command.structure.to.description
rotation:Rotation- 枚举类型,可选。command.enum.rotation.description枚举值如下:
-
值 描述 0_degreescommand.enum.rotation.0_degrees 90_degreescommand.enum.rotation.90_degrees 180_degreescommand.enum.rotation.180_degrees 270_degreescommand.enum.rotation.270_degrees mirror:Mirror- 枚举类型,可选。command.enum.mirror.description枚举值如下:
-
值 描述 xcommand.enum.mirror.x zcommand.enum.mirror.z nonecommand.enum.mirror.none xzcommand.enum.mirror.xz includeEntities:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 includeBlocks:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 waterlogged:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 integrity:float- 基本类型,可选。command.structure.integrity.description
seed:string- 基本类型,可选。command.structure.seed.description
/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]
22≤ command.structure.7.description
action:StructureLoadAction- 枚举类型。command.enum.structureloadaction.description单值枚举,请直接使用
load。 name:string- 基本类型。command.structure.name.description
to:x y z- 基本类型。command.structure.to.description
rotation:Rotation- 枚举类型,可选。command.enum.rotation.description枚举值如下:
-
值 描述 0_degreescommand.enum.rotation.0_degrees 90_degreescommand.enum.rotation.90_degrees 180_degreescommand.enum.rotation.180_degrees 270_degreescommand.enum.rotation.270_degrees mirror:Mirror- 枚举类型,可选。command.enum.mirror.description枚举值如下:
-
值 描述 xcommand.enum.mirror.x zcommand.enum.mirror.z nonecommand.enum.mirror.none xzcommand.enum.mirror.xz animationMode:StructureAnimationMode- 枚举类型,可选。command.enum.structureanimationmode.description枚举值如下:
-
值 描述 block_by_blockcommand.enum.structureanimationmode.block_by_block layer_by_layercommand.enum.structureanimationmode.layer_by_layer animationSeconds:float- 基本类型,可选。command.structure.animationSeconds.description
includeEntities:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 includeBlocks:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 waterlogged:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否 integrity:float- 基本类型,可选。command.structure.integrity.description
seed:string- 基本类型,可选。command.structure.seed.description