Minecraft /setworldspawn command
Java EditionBedrock EditionSince Java 1.7.2 (13w43a) / Pocket v0.16.0
Quick answer: Sets the world spawn point where new players appear and compasses point. Syntax:
setworldspawn [<pos>] [<angle>]/setworldspawn moves the world's global spawn point. New players without a bed spawn there, players who die without a respawn point return there, and compasses point to it. In Java you can also set the facing angle and set the spawn in other dimensions. The usual spawn-area randomness still applies.
Syntax
| Edition | Syntax |
|---|---|
| Java | setworldspawn [<pos>] [<angle>] |
| Bedrock | setworldspawn [spawnPoint: x y z] |
Targets / arguments: The world spawn point. Requires: Cheats enabled / operator level 2 (Java), 1 (Bedrock).
Examples
/setworldspawnSet world spawn to where you are standing
/setworldspawn 0 65 0Set world spawn to specific coordinates
/setworldspawn 100 64 200 90Java: set spawn and make players face east on respawn
Tips
- This changes spawn for everyone; use /spawnpoint for individual players.
- Java's gamerule spawnRadius controls how randomly players scatter around it.
- Compasses always point to the world spawn, not to beds.