Locate Command - Find Structures, Biomes and POIs

Build a /locate command to find the nearest structure, biome, or point of interest in your Minecraft world.

Generated Command

/locate structure minecraft:village_plains
Version

What Is the Minecraft Locate Command?

The /locate command finds the nearest structure or biome from your current position. Java Edition includes 34 locatable structures and 65 biomes across the Overworld, Nether, and End. This generator builds the correct syntax for any target.

The command has two subcommands: /locate structure <id> and /locate biome <id>. When successful, it returns the coordinates of the nearest match. In chat, those coordinates are clickable, and clicking them auto-fills a /tp command so you can teleport there instantly.

This is one of the most useful commands for exploration. Instead of wandering for hours looking for a specific structure, you can pinpoint it in seconds. Need a teleport target? Locate gives you the exact coordinates.

One caveat: /locate only works with cheats enabled, so it is off limits in most survival worlds and on servers. In that case, grab the world seed and drop it into a seed map viewer instead. It shows the same structures and biomes at exact coordinates without turning on commands.

How to Use This Locate Generator

1. Choose the locate type. Select whether you want to find a structure or a biome.

2. Pick a target. Browse or search from 34 structures or 65 biomes. The generator lists every valid ID from the game data.

3. Copy the command. Paste into your Minecraft chat. The result will show the nearest coordinates.

4. Click to teleport. In the chat output, click the green coordinates to auto-fill a /tp command.

All 34 Locatable Structures

Java Edition has 34 structure IDs that /locate structure can find. Some structures have dimension-specific variants, like ruined portals appearing in 7 different forms.

StructureDimensionNotes
ancient_cityOverworldDeep dark biome, Y=-52 to Y=-20
bastion_remnantNether4 variants: bridge, hoglin stable, housing, treasure
buried_treasureOverworldBeach biomes, always at chunk X=9, Z=9
desert_pyramidOverworldDesert biome, contains TNT trap
end_cityEndOuter End islands, may include ship with elytra
fortressNetherSource of blaze rods and wither skeleton skulls
iglooOverworldSnowy biomes, 50% have basement with brewing stand
jungle_pyramidOverworldJungle biome, contains arrow traps
mansionOverworldDark forest, can be 10,000+ blocks from spawn
mineshaft / mineshaft_mesaOverworldUnderground, mesa variant starts at surface
monumentOverworldDeep ocean, guarded by Elder Guardians
pillager_outpostOverworldNear villages, spawns pillager patrols
strongholdOverworldContains End portal, up to 128 per world
swamp_hutOverworldSwamp biome, spawns witch
trail_ruinsOverworldAdded in 1.20, contains archaeology loot
trial_chambersOverworldAdded in 1.21, underground around Y=-20 to Y=-40
village_*Overworld5 variants: plains, desert, savanna, snowy, taiga

Additionally, there are 7 ruined portal variants (default, desert, jungle, mountain, nether, ocean, swamp), 2 ocean ruin variants (cold, warm), and 2 shipwreck variants (regular and beached). The nether fossil structure generates in soul sand valleys.

Frequently Asked Questions

What does /locate do in Minecraft?

It finds the nearest instance of a structure or biome from your current position. There are 34 locatable structures and 65 biomes in Java Edition. The command returns coordinates you can click to teleport to.

How do I find a stronghold with /locate?

Run /locate structure minecraft:stronghold. The result shows the X, Y, Z coordinates of the nearest stronghold. Strongholds generate underground, typically between Y=-20 and Y=0. Each world can have up to 128 strongholds.

Can /locate find biomes?

Yes. Use /locate biome <biome_id>. The game has 65 biomes across all three dimensions. For example, /locate biome minecraft:cherry_grove finds the nearest cherry grove.

Does /locate work in the Nether and End?

Yes, for structures and biomes in that dimension. In the Nether, you can locate bastions, fortresses, ruined portals, and nether fossils. In the End, you can locate end cities. The Nether has 5 biomes and the End has 5 biomes searchable with /locate biome.

Browse more Minecraft tools: