How To Use The Locate Command

In MineCraft 1.11, a new “locate” command was added. This command shows the coordinates of the closest EndCity, Fortress, Mansion, Mineshaft, Monument, Stronghold, Temple and village or other special buildings/structures in newer versions of Minecraft.

All you have to do is use the following command:

/locate (AND Then use TAB)

You can then use “tab” and it shows the different arguments you can use. Or you can just write the argument. Like

/locate EndCity

Which will show the nearest EndCity

In newer versions there is also a Buried_Treasure, EndCity, Fortress, Mansion, Mineshaft, Monument, Ocean_Ruin, Shipwreck, Stronghold, Desert_Pyramid, Igloo, Jungle_Pyramid, Swamp_Hut, Village and Pillager_Out

So best advice would be to write /locate TAB, and then use the tab button, to see which kind of arguments you can use in the version of Minecraft that you plays.