Minecraft:Commands/spawnpoint
More actions
Template:Infobox command This command sets the Minecraft:spawn point for a Minecraft:player.
This command works in any Minecraft:dimension and can set the player's spawn point into any dimension.Template:Note.
Syntax
- Java Edition
spawnpoint [<targets>] [<pos>] [<angle>]
- Bedrock Edition
spawnpoint [player: target] [spawnPos: x y z]
Arguments
- Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
- Template:Arg desc
- Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) Template:In or the command's execution Template:In.
- 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
- Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
- Template:Arg desc
Result
Template:Result table Template:Result table 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
Notes
References
<references/>
External links
Minecraft:de:Befehl/spawnpoint Minecraft:es:Comandos/spawnpoint Minecraft:ja:コマンド/spawnpoint Minecraft:pt:Comandos/spawnpoint Minecraft:ru:Команды консоли/spawnpoint Minecraft:uk:Команди консолі/spawnpoint Minecraft:zh:命令/spawnpoint