Skip to content
/craftcmd

Find the Nearest Stronghold

Locate the stronghold with the end portal

⚠︎ Awaiting in-game verification for Java 26.2

Finds the nearest stronghold containing the end portal frame. Only works in the Overworld.

/locate structure stronghold
28 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — stronghold coordinates appear.

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
Add Experience Levels
Add Experience Levels Awaiting in-game verification
Both

Give yourself or a player XP levels

/xp add @s 10L