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/spawnpoint: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
* 2 {{only|java|short=1}}
* 2 {{only|java|short=1}}
* 1 {{only|bedrock|short=1}}
* 1 {{only|bedrock|short=1}}
|others=Cheat only{{only|bedrock|short=1}}
|others=[[Minecraft:Cheat]] only{{only|bedrock|short=1}}
}}
}}
This command sets the spawn point for a player.
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.{{Note|You will have to be in the dimension you want to set your spawn in. Alternatively, you can use <code>/execute at <dimension> run spawnpoint ...</code> to set your spawn in a dimension without being there.}}.
This command works in any [[Minecraft:dimension]] and can set the player's spawn point into any dimension.{{Note|You will have to be in the dimension you want to set your spawn in. Alternatively, you can use <code>/execute at <dimension> run spawnpoint ...</code> to set your spawn in a dimension without being there.}}.
Line 70: Line 70:
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|spawnpoint|link=none}}.}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|spawnpoint|link=none}}.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.57|{{cmd|spawnpoint|link=none}} can now be used in the Nether.}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.57|{{cmd|spawnpoint|link=none}} can now be used in the [[Minecraft:Nether]].}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|{{cmd|spawnpoint|link=none}} can now be used in the End.}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|{{cmd|spawnpoint|link=none}} can now be used in the [[Minecraft:End]].}}
}}
}}


Line 91: Line 91:
{{Navbox commands}}
{{Navbox commands}}


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

Latest revision as of 11:06, 21 May 2026

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

Template:Argument

Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
Template:Arg desc

Template:Argument

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:Arg desc
Template:IN:
Template:Arg desc

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

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

See also

Notes

Template:Notelist

References

<references/>

External links

Navigation

Template:Navbox commands

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