Setworldspawn Command Generator — /setworldspawn Position & Facing Angle
[world_blocks_commands]
How to Use the Setworldspawn Command Generator
- Enter a position – accepts absolute coordinates,
~relative values, or a mix. - Optionally set an angle in degrees to control which direction players face when they spawn there. 0 faces south; the value increases clockwise when viewed from above.
- Copy the generated
/setworldspawncommand into a command block or the console.
Command Syntax Reference
/setworldspawn [pos] [angle]
/setworldspawn changes the world’s default spawn point – where brand-new players first appear, and where any player respawns after dying if they have no valid respawn anchor (no slept-in bed, no charged respawn anchor, or the anchor/bed was destroyed/obstructed). Running the command with no arguments at all sets the spawn point to the executor’s current position and facing. The optional angle argument only affects which direction a player faces on arrival – it has no effect on where they actually land.
The world spawn point is also what keeps the Overworld’s central spawn chunks loaded automatically (within the radius set by the spawnChunkRadius gamerule), so moving it also moves which chunks stay ticking by default without any player nearby.
Frequently Asked Questions
Does /setworldspawn override a player’s personal bed or respawn anchor spawn point?
No – an individual player’s personal spawn point (set by sleeping in a bed or charging/using a respawn anchor) always takes priority over the world spawn for that specific player. The world spawn set by this command only applies to brand-new players who haven’t set a personal spawn yet, and to any player whose personal spawn point becomes invalid (the bed was broken, the anchor ran out of charge or was removed, or that dimension doesn’t allow the corresponding respawn mechanic).
What does the angle argument actually control?
It only sets the yaw (horizontal facing direction) a player has the instant they spawn at that point – it doesn’t shift the spawn position at all. An angle of 0 faces south, 90 faces west, 180 faces north, and 270 faces east, matching the same angle convention used elsewhere in commands like /teleport.
Can I set the world spawn in the Nether or the End?
The command itself will run and store a position in whatever dimension you execute it in, but only the Overworld’s world spawn is used for the actual “where do brand-new players and bed/anchor-less deaths appear” mechanic – the game always sends players to the Overworld world spawn in those cases, regardless of which dimension they died in or which dimension last had /setworldspawn run in it.
Does moving the world spawn affect which chunks stay loaded without players?
Yes – the Overworld’s spawn chunks (a configurable radius around the world spawn point, controlled by the spawnChunkRadius gamerule) stay loaded and ticking even with no players online or nearby. Moving the world spawn with this command also moves that always-loaded area.
Related Tools
- Forceload Command Generator – keep additional chunks loaded outside the world spawn’s automatic radius.
- Worldborder Command Generator – set a border, often centered around the world spawn point.
- Locate Command Generator – find a good structure or biome before moving the world spawn there.