Set the spawn where you stand
/setworldspawnThe block at your feet becomes the world spawn for everyone without a personal spawn.

The /setworldspawn command moves the world spawn: the place where new players appear and where players without a bed or respawn anchor come back after death. You can also choose the direction they face when they spawn.
/setworldspawn [<pos> [<rotation>]]| Argument | Expects | What it does |
|---|---|---|
| posoptional | Block coordinates (x y z) | Block position of the new spawn. Defaults to your own position; ~ ~ ~ or 0 64 0 also work. |
| rotationoptional | Rotation (yaw pitch) | Facing direction at spawn: yaw then pitch, e.g. 180 0. Yaw 0 faces south, 90 west, 180 north, -90 east. |
/setworldspawnThe block at your feet becomes the world spawn for everyone without a personal spawn.
/setworldspawn 0 64 0Places the world spawn at X 0, Y 64, Z 0, for example in a lobby.
/setworldspawn ~ ~ ~ 180 0Same spot as you, and new players look north when they appear.
Fill in the fields, then copy the command.
Command generatorThe world spawn applies to everyone who has no personal spawn point. A bed or a Respawn Anchor overrides it, and so does /spawnpoint, which sets the respawn of a single player. A normal Compass in the Overworld points to the world spawn, so moving it also moves where compasses point.
Players do not always land on the exact block. The game rule respawn_radius spreads them around the spawn. Set it to 0 with /gamerule for a precise spawn, for example on a lobby platform or at the start of an adventure map.
/setworldspawn ~ ~ ~ 180 0.The game confirms with "Set the world spawn point to x, y, z" followed by the rotation. To move players who are already in the world, use /teleport.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
The respawn_radius game rule spreads players around the world spawn. Set it to 0 with /gamerule respawn_radius 0.
No. A bed or respawn anchor has priority for that player. The world spawn is used only when no personal spawn point is set.
Type it in the chat with cheats on: /setworldspawn [<pos> [<rotation>]].
Cheats on, or operator level 2.