World
/locate
Find the nearest structure or biome.
Syntax
Parameters
- kind
- literal
- structure / biome / poi.
- id
- namespaced ID
- What to find (e.g. minecraft:village).
Command builder
Configure the options below to generate a ready-to-paste /locate command.
Returns the nearest match's coordinates and distance.
/locate structure minecraft:village_plainsExamples
Find the nearest stronghold.
Find the nearest Mushroom Fields biome.
Find the nearest village of any variant.
Permission level
/locate requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.