Sets the global world spawn point.
/setworldspawn [x] [y] [z] [angle]
/setworldspawn 0 64 0
Available in Java and Bedrock.