Commands/clone

Clones blocks from one region to another.

Syntax

 * Java Edition
 * Clones all blocks or only non-air blocks.
 * Clones only blocks with the block id specified by.
 * Clones only blocks with the block id specified by.
 * Clones only blocks with the block id specified by.


 * Bedrock Edition
 * Clones all blocks or only non-air blocks.
 * Clones only blocks with the block id specified by.
 * Clones only blocks with the block id specified by.
 * Clones only blocks with the block id specified by.

Arguments

 * Specifies the lower northwest corner of the destination region.
 * Specifies the lower northwest corner of the destination region.


 * lit. 'replace' or 'masked'
 * Specifies whether to filter the blocks being cloned. Must be one of the following:
 * — Copy all blocks, overwriting all blocks of the destination region with the blocks from the source region.
 * — Copy only non-air blocks. Blocks in the destination region that would otherwise be overwritten by air are left unmodified.
 * If unspecified, defaults to.
 * If unspecified, defaults to.


 * lit. 'force' or 'move' or 'normal'
 * Specifies how to treat the source region. Must be one of the following:
 * — Force the clone even if the source and destination regions overlap.
 * — Clone the source region to the destination region, then replace the source region with air. When used in filtered mask mode, only the cloned blocks are replaced with air.
 * — Don't move or force.
 * If unspecified, defaults to.
 * If unspecified, defaults to.


 * Specifies the block id to copy in  mode.
 * Specifies the block id to copy in  mode.


 * It must be between -1 and 65535 (inclusive).
 * Specifies the block data to match when finding blocks to clone. Values that are invalid for the specified block id revert to 0. If, all blocks that match   are cloned,
 * Specifies the block data to match when finding blocks to clone. Values that are invalid for the specified block id revert to 0. If, all blocks that match   are cloned,