Command Reference
Minecraft /locate Command
worldJavaBedrock
Finds the nearest structure, biome, or point of interest (POI) and prints coordinates in chat.
Version Compatibility
Java Edition:1.21.4 (1.13+)
Bedrock Edition:1.21.60
Command Syntax
Java Edition
/locate structure <structureID> | /locate biome <biomeID> | /locate poi <poiID>Bedrock Edition
/locate structure <structureType> | /locate biome <biome>Arguments Explained
type (Java)structure / biome / poiRequiredChoose whether you are finding a structure, a biome, or a point of interest.
structureID/biomeIDResource IDRequiredThe namespace of the structure/biome (e.g. desert_pyramid, cherry_grove).
Practical Examples
/locate structure minecraft:mansionFinds the coordinates of the nearest Woodland Mansion.
/locate biome minecraft:mangrove_swampFinds the coordinates of the nearest Mangrove Swamp biome.
Important Notes
Java splits queries into three categories (`structure`, `biome`, `poi`), while older versions did not. Bedrock supports locating structures and biomes directly without the prefix, though modern updates now match Java.