Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/setworldspawn

From SAS Gaming Wiki

Template:Infobox command Sets the Minecraft:world spawn.

Usage

Template:In, this command can be used to set the world spawn in any Minecraft:dimension other than the Minecraft:Overworld.

Normal spawn spreading still applies, and can be set with a gamerule.

Syntax

  • Java Edition
setworldspawn [<pos>] [<angle>]
  • Bedrock Edition
setworldspawn [spawnPoint: x y z]

Arguments

Template:Argument

Specifies the Minecraft:coordinates of the Minecraft:world spawn. If not specified, defaults to the block position of the command's execution.
Template:IN, <x> and <z> should be in the range of [-30000000, 30000000), and <y> should be in the range of [-20000000, 20000000).
Template:IN, <x> and <z> that are greater than 30,000,000 or less than -30,000,000 are reverted to 30,000,000 and -30,000,000 respectively; <y> values which are greater than 319 and less than -64 are reverted to 319 and -64 respectively.
Template:IN:
Template:Arg desc
Template:IN:
Template:Arg desc

Template:El: Template:Argument

Specified the yaw angle to spawn with. Defaults to 0.0.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

See also

References

Template:Reflist

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/setworldspawn Minecraft:ja:コマンド/setworldspawn Minecraft:pt:Comandos/setworldspawn Minecraft:ru:Команды консоли/setworldspawn Minecraft:uk:Команди консолі/setworldspawn Minecraft:zh:命令/setworldspawn