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

EditionSyntax
Javasetworldspawn [<pos>] [<angle>]
Bedrocksetworldspawn [spawnPoint: x y z]

Targets / arguments: The world spawn point. Requires: Cheats enabled / operator level 2 (Java), 1 (Bedrock).

Examples

/setworldspawn

Set world spawn to where you are standing

/setworldspawn 0 65 0

Set world spawn to specific coordinates

/setworldspawn 100 64 200 90

Java: set spawn and make players face east on respawn

Tips

Related commands

/spawnpoint/seed/gamerule