Commands/locate

Displays the coordinates for the closest generated structure of a given type in the chat for the player who executed the command.The command is /locate So if you were looking for dimonds you would type in chat /locate dimond ore...

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * lit. ''
 * Specifies the structure to locate. Must be one of the following:
 * {| class="wikitable sortable"
 * {| class="wikitable sortable"

! Feature name || Java Edition || Bedrock Edition || Dimension
 * || || || The Nether
 * || || || Overworld
 * || || || The End
 * || || || The Nether
 * || || || Overworld
 * || || || Overworld
 * || || || Overworld
 * || || — || The Nether
 * || || || Overworld
 * || || || Overworld
 * || || || Overworld, The Nether
 * || || || Overworld
 * || || || Overworld
 * || || rowspan=4 | || rowspan=4 | Overworld
 * || Overworld
 * }
 * $$, the structure type is case-sensitive.
 * || || || Overworld
 * || || || Overworld
 * || || || Overworld, The Nether
 * || || || Overworld
 * || || || Overworld
 * || || rowspan=4 | || rowspan=4 | Overworld
 * || Overworld
 * }
 * $$, the structure type is case-sensitive.
 * || || rowspan=4 | || rowspan=4 | Overworld
 * || Overworld
 * }
 * ⇭⇭⇭, the structure type is case-sensitive.
 * || Overworld
 * }
 * ⇭⇭⇭, the structure type is case-sensitive.
 * || Overworld
 * }
 * ⇭⇭⇭, the structure type is case-sensitive.
 * || Overworld
 * }
 * ⇭⇭⇭, the structure type is case-sensitive.

Note
On success, displays the coordinates for the closest structure of the given type in the chat. Displays the Y coordinate as  for some structures (All structures ⇭⇭⇭).

Examples

 * To obtain the coordinates of the nearest woodland mansion:

History
Befehl/locate Comandos/locate Команды консоли/locate Команди консолі/locate 命令/locate