Minecraft PE locate Command

Minecraft PE locate Command

The locate command displays the x, y and z coordinates of the structure that has been requested. The command was first added to Minecraft PE in version 1.0. In version 1.0 it failed for any requested structure. In the 1.0.2 update, the command began working but only for strongholds. In 1.1 several new structures were added to the command.

/locate Syntax

/locate [structure]

/locate Arguments

  • [structure] (required)
    • Accepted Values:
      • endcity
      • fortress
      • mansion
      • mineshaft
      • monument
      • stronghold
      • temple
      • village


  • Success: When the command succeeds it returns the coordinates of nearest structure specified. If the specified structure in not reasonably close to the player’s current position, the command will indicate that none could be found.
  • Failure: The command fails if no structure or an invalid structure is supplied.

Usage Notes

  • To use the locate (or any other command) in Minecraft PE cheats must be enabled.
  • The y-coordinate may not be returned in certain situations, displaying (y?) in its place.


Locate a stronghold near the requesting player’s position

/locate stronghold

Locate a woodland mansion near the requesting player’s position

/locate mansion

Locate a village near the requesting player’s position

/locate village


  • Introduced: 1.0.0
  • Updated to allow locating strongholds: 1.0.2
  • Updated to allow endcity, fortress, mansion, mineshaft, monument, temple and village: 1.0.2

One Response

  1. Infinity Zeron 06/18/2018

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.