← Back to Command Directory ← Back to Home

/setworldspawn

Sets the global world spawn point.

Syntax

/setworldspawn [x] [y] [z] [angle]

Parameters

NameRequiredDescription
x y zNoSpawn coordinates (defaults to executor position).
angleNoFacing direction in degrees.

Examples

/setworldspawn 0 64 0

Notes

Version Differences

Available in Java and Bedrock.

Related Commands