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
imported>Jacobsjo
Undo revision 3435001 by Die Tiefe (talk) The upper limit is exclusive, which is indicated by the )
 
SyncBot (talk | contribs)
Remove broken links to missing pages
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=[[Minecraft:Cheat]] only{{only|bedrock|short=1}}
|others=Cheat only{{only|bedrock|short=1}}
}}
}}
This command sets the [[Minecraft:spawn point]] for a [[Minecraft:player]].
This command sets the spawn point for a 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 [[Minecraft:Nether]].}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.57|{{cmd|spawnpoint|link=none}} can now be used in the Nether.}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|{{cmd|spawnpoint|link=none}} can now be used in the [[Minecraft:End]].}}
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|{{cmd|spawnpoint|link=none}} can now be used in the End.}}
}}
}}


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


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

Revision as of 15:45, 9 April 2026

Template:Infobox command This command sets the spawn point for a 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

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