Clone Command Generator — /clone Regions with Masked, Filtered & Move Modes
[world_blocks_commands]
How to Use the Clone Command Generator
- Enter Source corner 1 and Source corner 2 – the two opposite corners of the region you want to copy.
- Enter the Destination position – where the corner matching Source corner 1 should land after copying.
- Choose a mask mode:
replace(default),masked, orfiltered. If you pickfiltered, also enter the block id to filter by. - Choose a clone mode:
normal(default),force, ormove, then copy the generated/clonecommand.
Command Syntax Reference
/clone <begin> <end> <destination> [replace|masked|filtered <block>] [normal|force|move]
/clone copies every block (including block entity data like chest contents, sign text, and command block contents) from the source cuboid to a destination, preserving the same relative layout. The mask mode controls which source blocks get copied:
- replace (default) – copies every block in the source region, including air, so the destination becomes an exact overwrite of the source.
- masked – skips air blocks in the source, so only non-air blocks are copied and whatever already exists at the destination shows through where the source was air.
- filtered – only copies blocks matching one specific block id you specify, ignoring everything else in the source region; this requires
forceclone mode.
The clone mode controls overlap and cleanup behavior:
- normal (default) – fails if the source and destination regions overlap at all.
- force – allows the source and destination regions to overlap, needed for filtered cloning and for shifting a structure by a small offset.
- move – after cloning, clears the entire source region to air, effectively relocating the structure instead of duplicating it.
Like /fill, a single /clone is capped at 32,768 blocks per execution by default.
Frequently Asked Questions
What’s the difference between masked and filtered mode?
masked is a fixed rule that always skips air in the source – it has no configurable target. filtered lets you specify exactly one block id, and only positions holding that specific block get copied; everything else in the source region, air or otherwise, is ignored. Filtered mode requires the clone mode to be set to force.
Does /clone preserve chest contents and other block entity data?
Yes – this is the main advantage of /clone over /fill. Chests keep their items, signs keep their text, spawners keep their configured entity, and command blocks keep their command and settings when cloned.
Why do I need force mode for overlapping regions?
By default (normal clone mode) the command refuses to run if the source and destination cuboids share any blocks, since simultaneously reading and writing the same space could produce inconsistent results. force mode explicitly allows the overlap and is required whenever you use filtered mask mode too, even without any actual overlap.
What happens to the source region when I use move mode?
move copies the region to the destination exactly like normal cloning, then fills the entire original source cuboid with air afterward – it’s the command’s built-in way to relocate a structure rather than duplicate it, avoiding a separate cleanup /fill ... air call.
Related Tools
- Fill Command Generator – fill a region with one block instead of copying an existing structure.
- Setblock Command Generator – place or edit a single block after cloning a larger structure.
- Place Command Generator – generate a structure template or jigsaw piece instead of cloning existing blocks.