To find the coordinates of the nearest Witch Hut: /locate Swamp_Hut Example in Java Edition (PC/Mac) 1.11 and 1.12 To find the coordinates of the nearest Ocean Ruin: /locate Ocean_Ruin To find the coordinates of the nearest Buried Treasure in Minecraft 1.13: /locate Buried_Treasure To find the coordinates of the nearest Pillager Outpost in Minecraft 1.14 and 1.15: /locate Pillager_Outpost Example in Java Edition (PC/Mac) 1.13 To find the coordinates of the nearest End City ( must be in the End dimension): /locate endcity Example in Java Edition (PC/Mac) 1.14 and 1.15 To find the coordinates of the nearest Witch Hut ( must be in the Overworld dimension): /locate swamp_hut To find the coordinates of the nearest Bastion Remnant ( must already be in the Nether dimension) in Minecraft 1.16 and 1.17: /locate bastion_remnant
Example in Java Edition (PC/Mac) 1.16 and 1.17