1

Help with clone command block

TheRexxars 8/21/20 3:16 pm
257
8/21/2020 4:13 pm
Basically I'm trying to find a way to move my structure (train) in a direction with command blocks.

I tried some methods I could think of because the internet wasn't really helping.



I then found this tutorial: https://gaming.stackexchange.com/questions/287095/how-do-i-make-a-moving-structure-with-command-blocks

although when I use the command and follow what it says, my structure just shoots off into the sky at light speed.



I think it has something to do with it cloning the Redstone pulse over and over.

If someone could tell me an alternate method, or link me a tutorial, or just tell me what I'm doing wrong, that'll be very helpful.



Thanks : )
Posted by
TheRexxars
Level 39 : Artisan Architect
173

  Have something to say?

JoinSign in

5

Stalkative
08/21/2020 3:22 pm
Level 29 : Expert Geek
history
So your command is this?
/clone ~<x1> ~<y1> ~<z1> ~<x2> ~<y2> ~<z2> ~<x3> ~ ~<z3> replace move
The first thing I can think of here is that there's no y3 coordinate
The way the clone command works is that you define a region using the first two sets of coordinates. Then that entire region is copied (or in this case, moved) such that the corner with the lowest coordinates is located at (x3,y3,z3)
This means that if your y1 equals -1 and your y3 equals 0, the structure will move up one block
2
TheRexxars
08/21/2020 3:40 pm
Level 39 : Artisan Architect
not to sound dumb, but I don't follow what you're saying.
1
Stalkative
08/21/2020 4:05 pm
Level 29 : Expert Geek
Okay, I'll try to explain a bit better

If you only want it to work and don't care about why it works that way:
You have: /clone <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> replace move
You can use x1, y1, z1 and x2, y2, z2 as described in the post you linked
Now, x3 should be x1 + how far you want to move on the X axis. So if you've set x1 to -5, for example, and you want to move the structure just one block, x3 will be -5+1, which is -4. Then you have to choose y3 and z3 in the same way.
You want it to move 0 blocks up, which means your y3 should be the same as your y1

If you also want to know why it works that way:
/clone <first point> <second point> <third point>

<first point> and <second point> specify the region you copy the structure from. The points are simply the corners. So if you use 0 0 0 as <first point> and 8 8 8 as <second point>, you will copy everything from 0 0 0 to 8 8 8

Then, <third point> will specify the region you copy the structure to. <third point> will be the lower northwest corner of the region (that means it's the lowest X, lowest Y, and lowest Z coordinate). So if you want to copy the area mentioned above (0 0 0 to 8 8 8) to the area from 16 16 16 to 24 24 24, you pick 16 16 16 (lowest coordinates) as your <third point>
2
TheRexxars
08/21/2020 4:13 pm
Level 39 : Artisan Architect
history
Thank you so much! You're a life saver.

Respect to you for dealing with my incompetence :)

hope you have a wonderful day!
1
TheRexxars
08/21/2020 3:40 pm
Level 39 : Artisan Architect
also, I should have stated, it shoots at an angle into the sky.
1

Welcome