Find the Nearest Stronghold
Locate the stronghold with the end portal
⚠︎ Awaiting in-game verification for Java 26.2Finds the nearest stronghold containing the end portal frame. Only works in the Overworld.
/locate structure stronghold28 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command.
- Press Enter — stronghold coordinates appear.
Related commands
Become nearly invincible
/effect give @p resistance 999999 255 trueSwitch to Peaceful mode so hostile mobs don't spawn
/difficulty peacefulGet coordinates of the nearest village structure
/locate structure villageGive yourself or a player XP levels
/xp add @s 10L