/spawnpoint Command
Sets the individual respawn point for one or more players. When a targeted player dies, they respawn at this location rather than the world spawn. The optional angle parameter sets the yaw direction faced on respawn. Omitting all arguments sets the spawn to the executor's current position.
Syntax
/spawnpoint [<targets>] [<pos: x y z>] [<angle: float>]Permission: 2Edition: Both
Examples
/spawnpoint @s/spawnpoint @a 0 64 0/spawnpoint PlayerName 100 65 -50 180/spawnpoint @s ~ ~ ~ 90Notes
Unlike /setworldspawn this is per-player. The angle argument is present in Java 1.16+ but due to a long-standing bug (MC-195473) it had no visible effect in some versions; verify behavior in 1.21+. The individual spawnpoint overrides the world spawn until the player dies in a dimension without their bed/respawn anchor, at which point it resets.