Minecraft wiki entry for Development_versions, associated text: Syntax: /locate <StructureType>
Accepts: EndCity, Fortress, Mansion, Mineshaft, Monument, Stronghold, Temple and Village.
Desert temples, Jungle temples, Witch huts and Igloos all go under the Temple category.
Pushes coordinates for the closest structure of given type in the chat for the player who executed the command.
Returns the message "Located [Structure] at [x] [y] [z]".
Will display the Y coordinates as "(y?)" for some structures.
If a structure is not located nearby (i.e. in a different dimension), it will respond with "Unable to locate any [StructureType] feature."