All commands
๐Ÿงญ
UtilityJava โœ“Bedrock โœ“

/locate

Find the closest structure, biome, or point of interest near you.

๐ŸชจBedrock note: Bedrock: /locate <structure|biome> <id>.

Overview

What is the /locate command?

The /locate command finds the nearest structure, biome or point of interest and tells you its coordinates and distance. It's the fastest way to track down a stronghold, ocean monument, ancient city or a specific biome without wandering.

Click the returned coordinates in chat to copy them straight into a /tp command.

When to use it: Use /locate to find the nearest structure or biome โ€” strongholds, villages, mansions, ancient cities and more.

At a glance

Syntax

Syntax
/locate structure <id>
commandtargetcoordsvaluerequiredoptional

See it

What it does

๐Ÿฐ
Scanning for the nearest structure

Anatomy

Every part, explained

  1. 1
    /locateCommandRequired

    Searches the world for something nearby.

  2. 2
    structureTypeRequired

    What to look for: structure, biome, or poi.

  3. 3
    <id>IDRequired

    The thing to find, e.g. village or minecraft:village.

Your turn

Try it yourself

Playground
3 tokens ยท press Enter to run

Copy & paste

Examples

/locate structure village

Find the nearest village.

/locate biome desert

Find the closest desert biome.

/locate structure stronghold

Point toward the nearest stronghold.

Avoid these

Common mistakes

โœ•/locate village
โœ“/locate structure village

You must say the category first: structure, biome, or poi.

โœ•/locate structure desert
โœ“/locate biome desert

A desert is a biome, not a structure.

Good to know

Frequently asked questions

How do you find a structure in Minecraft?
Run /locate structure <name>, e.g. /locate structure stronghold, and the nearest one's coordinates appear in chat.
How do you locate a biome?
Use /locate biome <name>, for example /locate biome jungle, to get the closest matching biome's position.
Does /locate teleport you there?
No, it only reports the coordinates. Click them in chat to copy, then use /tp to travel there.

Keep going

Related commands