OGTOOLS

Minecraft /locate command

Gives the coordinates of the nearest village, stronghold or biome.

🌍 World and time Operator (level 2) Needs cheats enabled Java Edition 26.3

Syntax

/locate structure <structure>
/locate biome <biome>
/locate poi <poi>

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
structure Structure IDs such as village_plains, fortress, stronghold and ancient_city.
biome Biome ID: desert, jungle, mushroom_fields and so on.

Examples

/locate structure #minecraft:village

Gives the coordinates of the nearest village of any type; click them to teleport.

/locate structure minecraft:stronghold

Searches for the stronghold that holds the End portal.

/locate biome minecraft:mushroom_fields

Finds the nearest mushroom island.

Good to know

  • In 1.19, locate and locatebiome were merged into one command.
  • If you have permissions, you can click the coordinates in the result to teleport there directly.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).

Related commands

🌍 More World and time

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.