Moving and Rotating Structures with the Console
Find a structure's ID and coordinates with di, move it with setposition, turn it with setrotation, and merge two bases in Creative.
ID and coordinates
Type di to toggle an info box with your coordinates, level, XP and player ID. Aimed at a nearby structure, it also shows the structure's ID, name and position. The axes: x runs east, y is the height and z runs north. A large block is two units wide, which helps when you count an offset.
Moving
setposition id x,y,z (short sp) moves a structure to absolute coordinates; separate the values with commas and no spaces. A mistyped vector moves the structure to 0,0,0, so check it before you press Enter. To put it at a chosen spot, stand there, read your own coordinates with di and use those. For a relative move, give one axis with an offset instead: y+ followed by a distance lifts the structure, y- lowers it, and x and z work the same way.
Rotating
setrotation id x,y,z sets the rotation in degrees. The middle value is the heading, counted clockwise from north, so a quarter turn points the structure east. A mistyped vector resets the rotation to 0,0,0. y+ or y- followed by an angle turns it relative to its current heading.
Rights and structural integrity
Both commands also work in Survival; on a server they need GameMaster rights. Nobody may be at the controls of the structure while you move or turn it. Before you edit a moved base, switch structural integrity off with si off (see Disabling Structural Integrity); it switches back on when the game is restarted.
Merging two bases
mergestructs main id child id places the second base into the block grid of the first as a preview. Adjust it with setposition and setrotation, then run the same command with -ex at the end to join the two into one base. It needs Moderator rights and works only in Creative or Edit mode; the rotation snaps to 90 degrees.
More commands: Structure and Entity Commands.
Updated 2026-11-30