25% off on first order withAPEX25
Minecraft
Posted on Nov 13, 2026

How to Find a Village in Minecraft on Your Server (/locate)

Your group just spawned into a fresh survival world. Nobody has a bed, nobody has a trade, and the plan is to wander until something shows up. There’s a faster way to find a village in Minecraft, and as the server owner you already ha...
How to Find a Village in Minecraft on Your Server (/locate)

Table of Contents

Share on
Read Progress

Your group just spawned into a fresh survival world. Nobody has a bed, nobody has a trade, and the plan is to wander until something shows up. There’s a faster way to find a village in Minecraft, and as the server owner you already have the access it needs. One line in the console prints the coordinates of the nearest village, ancient city, or woodland mansion.

 

The Quick Answer: Find a Village with /locate

In game as an operator, type /locate structure #minecraft:village. In your Apex server console, type the same command without the slash. Minecraft Java Edition replies with the coordinates of the nearest village of any type and its distance in blocks. Then use /tp or walk there.

That one line works on Java Edition 1.19 and later. Guides written before 1.19 show shorter forms such as /locate village, which is why copied commands often fail on a current server.

 

How the /locate Command Works

The command has three subcommands: structure, biome, and poi. Villages, ancient cities, and mansions are structures, so this guide sticks to /locate structure. The biome subcommand finds biomes, and poi finds points of interest such as bee homes. The full argument list is on the Minecraft Wiki page for /locate.

After structure, you give either an ID or a tag. An ID names one exact thing, like minecraft:village_plains. A tag starts with # and groups related things, so #minecraft:village covers all five village types at once.

The reply follows a fixed pattern: the nearest match, its x and z in square brackets, and the distance in blocks. The distance counts horizontally only. An ancient city can read as close while sitting far below your feet, so remember the depth before you trust a short number.

Four rules explain most of the confusing results:

  • It reports the nearest match only. To find a second village, move and run the command again.
  • It searches the dimension you’re in. Villages, ancient cities, and mansions are Overworld structures.
  • It searches a limited area. If nothing sits inside it, the command fails.
  • It gives x and z only, with a ~ where the height would be.

 
In game, the coordinates in the reply are clickable. Clicking them puts /tp @s x ~ z in your chat box, and you press Enter to run it. The ~ keeps your current height, so edit it if you’d land inside rock.

 

Run /locate From Your Apex Server Console

The console is the one place you don’t need operator status; it’s how you give yourself op in the first place. It’s also the right tool when you don’t want to hand players cheat commands.

  1. Head towards your Apex server panel and start the server if it is not online.
  2. Press the “Console” button near the top left corner.
  3. Type locate structure #minecraft:village in the text box and press Enter.
  4. Read the return message for the coordinates and distance.

 
Leave the slash off. Our own OP guide types op [username] the same way, with no slash in front.

One catch: the console isn’t a player standing in your base. A village it reports may not be the closest one to where your group lives. Copy the coordinates and use them in game. For the nearest village to a specific spot, run the command in game from that spot.

 

Run /locate in Game as an Operator

In game, /locate needs operator level 2 or higher. Our guide on how to OP yourself covers the console route. It also lists the levels: level 1 only bypasses spawn protection, while level 2 grants basic cheat commands such as /gamemode, /give, /effect, and /summon. Level 2 is where /locate starts.

To check or change the default level for new operators, open “Config Files” in the panel and look for “OP Permission Level” under “Server Settings“.

  1. Join the server with your operator account.
  2. Press T to open chat.
  3. Type /locate structure #minecraft:village and press Enter.
  4. Click the coordinates in the reply to fill your chat box with /tp @s x ~ z.
  5. Replace the ~ with a safe height if needed, then press Enter.

 

Structure IDs for Villages, Ancient Cities, and Mansions

Use these in place of the village tag. Every row is an Overworld structure, and every command starts with /locate structure (drop the slash in the console).

What You Want ID or Tag Notes
Nearest village of any type #minecraft:village Best default; the tag covers all five types
Plains village minecraft:village_plains
Desert village minecraft:village_desert
Savanna village minecraft:village_savanna
Snowy village minecraft:village_snowy
Taiga village minecraft:village_taiga
Ancient city minecraft:ancient_city Deep underground
Woodland mansion minecraft:mansion Dark forest or pale garden

Stick with the tag when you just want any village. Switch to a specific ID when the type matters, such as a snowy village for a winter build or a desert village for a sandstone base.

 

Finding an Ancient City

Run /locate structure minecraft:ancient_city. Ancient cities generate deep underground in the Deep Dark, so the reply’s x and z only tell you where to dig down. Don’t teleport with the ~ height; you’d likely land inside solid rock.

Go in prepared. Sculk shriekers in the Deep Dark can summon a warden, and that fight ends badly for an unprepared group.

 

Finding a Woodland Mansion

Run /locate structure minecraft:mansion. Mansions generate in dark forest and pale garden biomes, so expect the trip to end in dense, dark woods. Check the distance in the reply before you commit; it tells you how long the walk will be.

Other finds have their own guides. Our posts cover how to find biomes, the stronghold, trial chambers, and End cities.

 

No Op? How Players Can Still Find Villages

Without level 2, /locate won’t run. You still have options, and most of them are better for the server anyway.

Ask an admin. They can run the command from the console and post the coordinates, which takes seconds. Admins who’d rather not hand out cheat commands should do exactly that.

Check the seed route if your server allows it. Our guide on finding the seed on a server without OP covers two client-side Fabric methods and has a section on server rules. Read your server’s rules first; using a tool on someone else’s server without permission can get you banned.

Or explore with what you know. Villages come in five flavors: plains, desert, savanna, snowy, and taiga. So head for those biomes. No mods needed.

 

Fixing Common /locate Errors

Four problems cover nearly every failed attempt. Match your message to the heading below.

The Command Is Unknown or Incomplete

You’re probably using the pre-1.19 form. Current Java Edition needs the subcommand: locate structure #minecraft:village, not locate village. Check the spelling too, because IDs are case-sensitive and written in lowercase. If you type an ID that doesn’t exist, Minecraft says no structure has that type.

Minecraft Could Not Find the Structure Nearby

Nothing matched inside the search area. Travel some distance in any direction and run the command again. Also confirm you’re in the right dimension; an Overworld structure can’t be found from the Nether.

It Found a Village You Already Looted

The command reports the nearest match only. Move away from the old village, then run it again from the new spot.

You Don’t Have Permission

Level 2 is the minimum. An operator at level 1 only bypasses spawn protection and can’t run it. Raise the level from the panel, or run the command from the Console.

 

Locate Command FAQ

Does /locate Work in the Nether or the End?

Yes, but only for structures that generate there. Villages, ancient cities, and mansions are Overworld structures, so run the command from the Overworld.

Can I Use /locate Without Op?

No. It needs operator level 2. You can run it from the Apex Console, ask an admin to run it for you, or use the seed route in our guide.

Do I Type the Slash in the Server Console?

No. In the Apex Console, type the command without the slash, the same way you’d type op [username].

How Do I Find the Nearest Village to My Base?

Stand at your base, then run /locate structure #minecraft:village in game. The distance is measured from where the command runs, so your position decides the answer.