All commands
🧭
Utility

/locate

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

Try in Simulator

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.

Keep going

Related commands