Skip to content
/craftcmd

Set Your Spawn Point

Mark your current location as where you respawn

⚠︎ Awaiting in-game verification for Java 26.2

Sets your spawn point (respawn location) to your current position. You'll respawn here when you die.

/spawnpoint @s
14 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — your spawn is set.

Related commands

Become nearly invincible

/effect give @p resistance 999999 255 true

Instantly remove every mob from the world except players

/kill @e[type=!player]

Give yourself XP levels for enchanting

/experience add @p 30 levels

Switch to Peaceful mode so hostile mobs don't spawn

/difficulty peaceful
Find the Nearest Village
Find the Nearest Village Awaiting in-game verification
Both

Get coordinates of the nearest village structure

/locate structure village
Find the Nearest Stronghold
Find the Nearest Stronghold Awaiting in-game verification
Both

Locate the stronghold with the end portal

/locate structure stronghold