[world_blocks_commands]

How to Use the Locate Command Generator

  1. Pick a type: structure, biome, or poi (point of interest).
  2. Choose the specific id for that type, such as minecraft:stronghold, minecraft:desert, or minecraft:home.
  3. Copy the generated /locate command into a command block or the console – the game reports the coordinates and distance to the nearest match.

Command Syntax Reference

/locate structure <structure>
/locate biome <biome>
/locate poi <poi>

All three variants search outward from the executor’s current position and report the coordinates of, and distance to, the nearest match – they don’t teleport you there, they just tell you where to go. The search radius and behavior differ by type:

  • structure <structure> – finds the nearest generated structure of that type, such as minecraft:stronghold, minecraft:mansion, minecraft:monument, minecraft:fortress, minecraft:bastion_remnant, minecraft:ancient_city, or a specific village variant like minecraft:village_plains. Note that minecraft:village alone isn’t a valid id – villages are split into separate biome-specific structure ids (plains, desert, savanna, taiga, snowy), so you locate one variant at a time.
  • biome <biome> – finds the nearest area classified as that biome, such as minecraft:desert or minecraft:jungle, searching in horizontal rings outward and checking actual generated biome data (which can make it slower than structure searches, especially for rare biomes).
  • poi <poi> – finds the nearest registered point of interest, such as minecraft:home (an unclaimed bed, tracked for villager sleeping) or minecraft:meeting (a bell, tracked for the village’s gathering point) – these are the same POI types that power villager AI and raid mechanics.

Frequently Asked Questions

Does /locate teleport me to the structure, biome, or POI it finds?

No – it only reports coordinates and distance in chat. You need a separate /teleport command (often chained via a function or command block sequence) to actually move there once you have the coordinates.

Why doesn’t minecraft:village work as a structure id?

Villages aren’t registered as one generic structure – each biome variant (plains, desert, savanna, taiga, snowy) is its own separate structure id, like minecraft:village_plains or minecraft:village_desert. You have to locate a specific variant; there’s no single id that means “any village.”

Why is /locate biome slower than /locate structure?

Structure locations are recorded in per-chunk generation data that the game can scan relatively cheaply, especially for structures using biome-restricted placement. Biome searches instead have to check the actual generated biome at sampled points in expanding rings, which is more computationally expensive – this is especially noticeable for rare biomes that can require searching a very large radius before a match turns up.

What are points of interest (POI) used for besides /locate poi?

POIs are the same tracked-location system that drives villager behavior – villagers path toward minecraft:home POIs (unclaimed beds) to claim them for sleeping, and toward minecraft:meeting POIs (bells) to gather during a raid or to socialize. /locate poi just exposes that existing tracking system for players to query directly.

Related Tools