Copy a build with /clone
Choose your Java version, then record two opposite corners around your build. Include its floor, roof and any buried blocks you want to keep. Enter those corners as the source. For the destination, use the corner with the lowest X, Y and Z values, even if you entered the source corners in the opposite order. You need cheats enabled or permission to run commands.
Choose a mask and clone mode, copy the generated command, then run it in chat. Absolute coordinates are easiest for a first copy. With ~ offsets, all three positions refer to where the command executes. Moving before running the command changes the selected area.
Worked example: copy a small room
Suppose your room runs from 0 64 0 to 2 65 3. Enter those source corners and set the destination to 10 64 0. The selection includes both endpoints, so it is three blocks wide, two high and four deep: 24 blocks. Choose replace and normal. Run /clone 0 64 0 2 65 3 10 64 0 replace normal. The copy occupies 10 64 0 through 12 65 3, with the same orientation.
For a larger build, split it at clear boundaries such as floors. Keep the same offset between each source section and its destination so the pieces meet correctly. The preview shows the size of your selection and warns about overlap; it cannot tell whether the destination contains something you want to keep.
Choose what to copy and whether to move it
replace copies everything, including air, so it can erase destination blocks inside the box. Use it for an exact room copy. masked skips source air, useful for placing a statue without clearing the surrounding landscape. filtered copies only blocks matching your chosen block, states or tag, useful for copying just a stone foundation.
normal fails when the source and destination boxes overlap in the same dimension, even with masked or filtered. Move the destination farther away or choose force to allow an overlapping copy. move also permits overlap, but clears the selected source blocks to air as it relocates them. Check your coordinates before using move.
Limits, dimensions and strict
The default Java limit is 32,768 blocks, counting the whole source box before filtering. In versions before 1.19.4 it is fixed: split large builds into smaller sections. For Java 1.19.4 through 1.21.10, raise it with /gamerule commandModificationBlockLimit 100000. From 1.21.11, including 26.3, use /gamerule max_block_modifications 100000. Raising it can make a large copy slow; enter the server value in this tool for an accurate size warning.
From Java 1.19.4, enable dimension selection to copy from minecraft:overworld to minecraft:the_nether or another dimension. Destination coordinates are used directly, without Nether portal scaling. Both regions must be loaded. In earlier versions, /clone works only within the execution dimension.
From Java 1.21.5, strict goes after the destination and before the mask. It skips the usual block updates during placement, useful for preserving arrangements that would react to neighboring blocks. Leave it off for an ordinary build copy.
/clone [from <sourceDimension>] <begin> <end> [to <targetDimension>] <destination> [strict] [replace|masked|filtered <filter>] [force|move|normal]Common errors
The source and destination areas cannot overlap
Move the destination outside the source box, or use force to copy or move to relocate it.
Too many blocks in the specified area (maximum 32768, but specified 40000)
Split the source box or raise the version-specific game rule above. A filter does not reduce the checked volume.
That position is not loaded
Load both regions by visiting them or using /forceload in each relevant dimension, then retry.
No blocks were cloned
Check that the source contains blocks selected by your mask or filter. An empty masked selection or a filter with no matches copies nothing.
Frequently asked questions
Can /clone rotate or mirror a build?
No. Save the build with a structure block and use its rotation or mirror settings when loading. In Java 1.19 and later, /place template also supports rotation and mirroring of saved templates.
Does /clone copy chest contents and entities?
It copies block entities, including chests and their contents. It does not copy entities such as villagers, armor stands or dropped items.
What is the maximum size?
By default, 32,768 blocks in the inclusive source box, such as 32 x 32 x 32. Java 1.19.4 and later allow a higher server game rule value; older versions require multiple commands.
Does /clone work on Bedrock?
Bedrock has /clone, but this generator targets Java. Bedrock uses different filtered syntax and its own limits. Do not assume the Java limit rules, dimension arguments or strict option apply.



