clone
Permissions level | Java version: 2 Battice Rock Version: 1 | Limited conditions | Enable cheating |
---|
Copy the block structure between the specified areas.
Grammar Java version Clone
Clone
Clone [from
Clone [From
Clone
Clone
JE:
:block_pos 和
:block_posBE: begin: x y z
:CommandPosition 和 end: x y z
: CommandPosition defines two cornering square block coordinates in the source area.The relative coordinates and local coordinates can be used to specify the relative distance of the command execution ground.The square that constitutes the corner extends in the positive direction of the coordinate of this block.Therefore, the smaller coordinates on each axis will fit the regional boundaries, but the larger coordinates will exceed the boundary 1 block, and the volume of the source area is (x large -x small+ 1) × (y large -y y y y large -y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y y to y to y y y y y y to y y y y y to y to y to y y y y y to y y y y y y y y y y y y to y.Small+ 1) × (Z big -z small+ 1).For example: 0 0 0 0 0 0 0
The volume is 1 block, 0 0 0 1 1 1
and 1 1 1 0 0 0 0
are specified.The same 8 block size area.
Je:
: block_posbe: Destination: x y z
: Commandposition
Define the coordinates of the lower northwest direction of the target area (that is, the smallest coordinate value on each axis), the game will end Start
and at the end/i>
The coordinates of the target area are calculated.The relative distance can be specified using relative coordinates and local coordinates.
Je: Replace | Masked
be: Maskmode: Maskmode
Specify whether to filter the copy of the block.It must be one of the following:
Masked
- Copy only non -air cubes.The blocks that will be replaced by air in the area will remain unchanged. Replace
— Copy all the squares and cover the All blocks in the target area with the block of the source area.If it is not defined, the default is replace
.
Filtent
Just copy the command only to specify the square, and you need to specify an additional square.
Je: Force | Move | Normal
be: Clonemode: Clonemode
Specify the operation of the source area.It must be one of the following:
Force
— Forced copy, even if the source area and the target area overlap. Move
—Cot the source area to the target area and replace the source area with air.Under the Filtered mask mode, only the copy of the block will be replaced with air. normal
—the did not execute force and move.If it is not specified, the default is normal
.
Je:
: block_predicatebe: Tilename: Block
: block
Specify the box ID to be copied when the Filtered
mode must be a block parameter (label by receiving block).In the base rock version, it must be a square ID.
JE:
Specify the source dimension of the copy area.
JE:
Specify the destination dimension of the copy area.
BE: Tiledata: int < /code>: int
Specify the data value that needs to be met when copying.
BE: BlockStates: Block States
: BlockStateCommandParam specify the block state that needs to be met when copying.Effect
Command | trigger conditions | java version | | ||||||
---|---|---|---|---|---|---|---|---|---|
Any | Parameters are not properly specified | Unable to parse | Unable to parse | ||||||
The specified dimension does not exist in | Execution failure | n/td> | |||||||
specified areas are uninstalled or in blocks that have been uninstalled or outside the world | /td> < /tr> | ||||||||
The number of blocks selected by the source area exceeds 32768 CommandModificationBlocklimit < /code> setting value | |||||||||
/clone ... normal ... | source areaOverlap with the target area | ||||||||
/clone ... move ... | > Source area and target area stack | Successful execution | |||||||
/Clone ... Filtered ... | There are no specified squares in the source area | >Execution failure | |||||||
/clone ... filed ... | Tiledata: int < /code> less than -1 or greater than 6553 | n/a | |||||||
/Clone ... Replace ... | All blocks in the source area are barriers.> | Execution failure | n/td> | /clone ... filed ... | The specified block is the barrier.1 "class =" reference "> [1] | ||||
/clone ... masked ... < /td> | Nothing in the source area is nothing more than air or non-barrier cubes | The execution failure | |||||||
/clone ... force .../clone ... normal ... | No squares are changed in the target area | ||||||||
Any | When the execution is successful | Copy or move the square |
Command | >Conditions | Number of success | /Execute Store SUCCESS ... | /EXECUTE Store Result... | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Any | java version | When Failing | 0 | 0 | |||||||
Success | Success | Success | Success | Success | Success | Success | When successful | /td> | 1 | 1 | Number of blocks in the target area |
Kiyan version | When failed | 0 | n/a|||||||||
Success time | n/a |