7

The /clone command is used to clone structures from one location to another.

The /execute in command is used to change the dimension the command is executed in.

Say I want to clone a block from the Overworld coordinates (0, 0, 0) to the Nether coordinates (12, 23, 34).

/execute in minecraft:overworld run clone 0 0 0 0 0 0 12 23 34

uses both coordinates in the Overworld.

/execute in minecraft:the_nether run clone 0 0 0 0 0 0 12 23 34

uses both coordinates in the Nether.

I need the (0, 0, 0) to be in the Overworld, and the (12, 23, 34) to be in the Nether.

How do I clone a structure between dimensions?

Structure blocks can probably accomplish this, but I would prefer an answer without one.

5
+50

What i could see from the wiki the /clone command cannot send structures from one dimension to another.

Theoretically you could scan through all the blocks in the structure. and send the scan results in falling sand blocks to the other dimension (just make sure to place a block they can fall on) but this is far from instant and i'd use structure blocks.

You can save the structure to minecraft:autoclone (can be any namespace)

/setblock ~ ~ ~ minecraft:structure_block{mode:"SAVE",posY:1,name:"minecraft:autoclone",sizeY:10,sizeX:10,sizeZ:10,author:"<yourname>",showboundingbox:1b} destroy

and load it from there with almost the same command just switch it to "LOAD" mode

/setblock ~ ~ ~ minecraft:structure_block{mode:"LOAD",posY:1,name:"minecraft:autoclone",sizeY:10,sizeX:10,sizeZ:10,author:"<yourname>",showboundingbox:1b} destroy

and after each step you need to set a redstone block next to it the redstone block needs to be set twice for the structure to actually load

/setblock ~ ~ ~1 minecraft:redstone_block destroy

now just run these with the execute command in the dimension you need

/execute in minecraft:overworld run (setblock ..."SAVE"...)
/execute in minecraft:the_nether run (setblock ..."LOAD"...)

if the area isn't loaded you can use /forceload ~ ~ to force a chunk's loading

proof of concept
commands used in the video can be found from the video description

6
  • How would someone go about doing this? – randomuser922 Dec 29 '20 at 0:25
  • i've updated it to contain the commands – jklw10 Dec 29 '20 at 12:34
  • Very good answer! I knew structure blocks would be our saviour here. I'll accept this one I've verified its validity in Minecraft. – ExpertCoder14 Dec 29 '20 at 18:43
  • muh bounty's gon expire lol – jklw10 Dec 30 '20 at 20:24
  • I'm waiting for validation. You got 22 hours left anyways. – randomuser922 Dec 30 '20 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.