/setworldspawn

Cheats / op 2Java 26.3

Sets the world spawn point. Its basic form is /setworldspawn; it has 3 syntax forms and 2 arguments. Permission: Cheats / op 2.

Who can use it
Cheats / op 2
Syntax forms
3
Arguments
2

/setworldspawn syntax

Game data

Every form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.

/setworldspawn
/setworldspawn <pos>
/setworldspawn <pos> <rotation>

/setworldspawn examples

Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.

/setworldspawn ~ ~ ~
Moves the world spawn, where new players and players without a bed appear, to where you stand.

/setworldspawn arguments

What each argument expects, with the limits the game enforces.

/setworldspawn arguments
ArgumentExpectsLimits
<pos>Block coordinates (x y z, ~ relative, ^ local)—
<rotation>Rotation (yaw pitch)—

Related commands

Data: Minecraft Java Edition 26.3 game files. How we source this

Sets the world spawn point. It has 3 syntax forms and can be run by: Cheats / op 2.

See Also

🔍

Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.

Report an Issue

/setworldspawn FAQ (Java 26.3)

What does /setworldspawn do in Minecraft?

Sets the world spawn point.

What is the syntax of /setworldspawn?

The basic form is /setworldspawn. All forms are listed above.

What is an example of /setworldspawn?

/setworldspawn ~ ~ ~ — Moves the world spawn, where new players and players without a bed appear, to where you stand.

Do you need cheats for /setworldspawn?

Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).