Find Nearest Ruined Portal
Locate the nearest ruined portal structure
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Displays the coordinates of the nearest ruined portal in chat. Ruined portals are broken nether portals in various biomes containing gold, obsidian, and loot chests. This command is chat-only output.
/locate structure minecraft:ruined_portal- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Chat shows the portal's coordinates.
- Travel to those coordinates and explore the ruins.
Related commands
God Mode (Resistance + Regeneration)
Become nearly invincible
Kill All Mobs
Instantly remove every mob from the world except players
Add Experience Levels
Give yourself XP levels for enchanting
Set Difficulty to Peaceful
Switch to Peaceful mode so hostile mobs don't spawn
Find the Nearest Village
Get coordinates of the nearest village structure
Find the Nearest Stronghold
Locate the stronghold with the end portal