WorldJavaBedrock

/locate

Find the nearest structure or biome.

What is /locate used for?

What /locate is for

Finds the nearest structure, biome, or point of interest and reports its coordinates and distance from you.

When to use /locate

Track down a stronghold, ocean monument, ancient city, or trial chamber without wandering, or find the closest patch of a rare biome.

Tips for /locate

Use /locate structure for built structures, /locate biome for terrain, and combine with /tp to jump straight to the coordinates it returns.

Syntax

Parameters

kind
literal
structure / biome / poi.
id
namespaced ID
What to find (e.g. minecraft:village).

Command builder

Configure the options below to generate a ready-to-paste /locate command.

Returns the nearest match's coordinates and distance.

Examples

  • Find the nearest stronghold.

  • Find the nearest Mushroom Fields biome.

  • Find the nearest village of any variant.

Common questions

How do I find a stronghold with a command?

Run /locate structure minecraft:stronghold — it reports the nearest stronghold's coordinates and distance. Then teleport to them.

How do I find a specific biome?

Use /locate biome <biome>, e.g. /locate biome minecraft:cherry_grove, then head to the coordinates it returns.

Permission level

/locate requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.