Minecraft:Commands/setworldspawn
From SAS Gaming Wiki
More actions
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
- 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:IN:
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
Bedrock Edition
See also
References
External links
Minecraft:de:Befehl/setworldspawn Minecraft:ja:コマンド/setworldspawn Minecraft:pt:Comandos/setworldspawn Minecraft:ru:Команды консоли/setworldspawn Minecraft:uk:Команди консолі/setworldspawn Minecraft:zh:命令/setworldspawn