Minecraft:Commands/spawnpoint: Difference between revisions
From SAS Gaming Wiki
More actions
imported>Jacobsjo |
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= | |others=Cheat only{{only|bedrock|short=1}} | ||
}} | }} | ||
This command sets the | 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 | |{{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 | |{{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}} | ||
de:Befehl/spawnpoint | |||
es:Comandos/spawnpoint | |||
ja:コマンド/spawnpoint | |||
pt:Comandos/spawnpoint | |||
ru:Команды консоли/spawnpoint | |||
uk:Команди консолі/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
- 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
de:Befehl/spawnpoint es:Comandos/spawnpoint ja:コマンド/spawnpoint pt:Comandos/spawnpoint ru:Команды консоли/spawnpoint uk:Команди консолі/spawnpoint zh:命令/spawnpoint