/locate Command
Finds and displays the coordinates of the nearest structure, biome, or point-of-interest (POI) of the specified type relative to the executor's current position. Supports resource location IDs and tags (prefixed with #). Does not generate new chunks — only finds already-generated or to-be-generated content along explored terrain.
Syntax
/locate structure <structure> | /locate biome <biome> | /locate poi <poi>Permission: 2Edition: Java
Examples
/locate structure minecraft:village_plains/locate biome minecraft:mushroom_fields/locate poi minecraft:lodestone/locate structure #minecraft:eye_of_ender_locatedNotes
The unified /locate command with structure/biome/poi subcommands is Java Edition only (merged from separate /locatebiome in Java 1.19.3). Bedrock still uses /locate <structureName> without subcommands, and lacks the biome and poi variants. Horizontal biome search resolution is 32 blocks, vertical 64 blocks, so narrow biomes may not be found.