How to find the second nearest structure
The fastest way to locate the second nearest structure is to use the /locate command in the chat window. Type /locate structure [name] — for example, /locate structure village — and the game will tell you the coordinates of the nearest structure and its distance in blocks. Run the command again after traveling to the first one, and it will show you the next closest structure of that type.
This method works in Survival mode on Java Edition (version 1.16 and later) and Bedrock Edition, though you must have cheats enabled. If cheats are off, you can turn them on by pausing the game, selecting "Open to LAN", and toggling "Allow Cheats" to on. The coordinates appear in your chat as a clickable link you can use to navigate.
Without commands, you can search manually by traveling in a straight line away from your base, then exploring outward in a grid pattern. Structures spawn in predictable biomes — villages appear in plains and savannas, ocean monuments in deep ocean, strongholds in any biome underground — so knowing what you are looking for narrows the search significantly.
Key Takeaways
- The /locate structure command shows you both the nearest structure and its exact distance, letting you travel there and find the second one by running the command again.
- Cheats must be enabled in your world for the locate command to work, which you can turn on through the "Open to LAN" pause menu option.
- Each structure type spawns only in certain biomes — villages in plains, ocean monuments in deep ocean, strongholds underground — so biome knowledge helps when searching without commands.
- The coordinates the game provides are clickable in chat and show your exact distance in blocks, making navigation straightforward even in unfamiliar terrain.
Understanding structure types and where they spawn
Minecraft structures are buildings or formations that generate automatically when a world is created. Each type appears only in specific biomes and at certain depths. Villages generate in plains, savannas, and snowy biomes on the surface. Ocean monuments appear only in deep ocean biomes. Strongholds always generate underground, typically between Y-level 0 and 64 (though this varies by game version). Nether fortresses spawn only in the Nether dimension, and End cities appear only in the End.
Knowing these rules saves time because you do not have to search everywhere. If you want a second village, travel to the first one, then head toward a plains or savanna biome before running the locate command again. If you are hunting ocean monuments, stay in deep ocean. This narrows the search area and makes the second structure easier to reach.
Using the locate command step by step
Open your chat window by pressing T on Java Edition or pressing the right arrow button on Bedrock. Type /locate structure village (or replace "village" with another structure name like "ocean_monument", "stronghold", or "nether_fortress"). Press Enter. The game will respond with coordinates and a distance in blocks.
Travel to those coordinates using your compass or by following the direction the coordinates indicate. Once you arrive at the first structure, open chat again and run the same command. The game will now show you the coordinates of the next nearest structure of that type. Repeat this process to find as many structures as you want.
The clickable coordinate link in chat takes you directly to that location if you click it, though this only works on Java Edition. On Bedrock, write down the coordinates and use them to navigate manually or use a map mod if you have one installed.
Structure names for the locate command
Different structure names work with the locate command depending on your game version. Common names include village, ocean_monument, stronghold, nether_fortress, end_city, mansion (for woodland mansions), mineshaft, shipwreck, buried_treasure, and bastion_remnant (in the Nether). If a name does not work, the game will tell you it is invalid and suggest alternatives.
On newer versions of Java Edition (1.19 and later), you can also use /locate biome [name] to find specific biomes instead of structures. This is useful if you want to travel to a plains biome to find villages, or a deep ocean to find monuments, before searching for structures there.
Enabling cheats if they are off
If the locate command does not work, cheats are likely disabled. Pause your game and look for "Open to LAN" in the pause menu. Click it, then toggle "Allow Cheats" to the on position. Close the menu and try the locate command again. This only affects your current world and does not change anything about your game save.
If you are playing on a server or a world created by someone else, you may not have permission to enable cheats. In that case, you will need to ask the server owner or world creator to turn them on, or create a new world where you have full control.
Searching without commands
If you cannot or do not want to use cheats, you can find structures by traveling to the correct biome and exploring methodically. Head toward a plains biome if you want villages, or deep ocean if you want ocean monuments. Once you are in the right biome, travel in a grid pattern — go north for 500 blocks, then east for 500 blocks, then south for 500 blocks — checking for structures as you go. Structures spawn frequently enough that you will usually find one within a few hundred blocks of travel.
This method takes longer than using the locate command but works in any world, including servers where cheats are disabled. Bring food, armor, and tools because you will be traveling far from your base. Mark your path with torches or blocks so you can find your way home.
Why the second structure matters
Finding a second structure of the same type gives you options. Two villages mean two sets of crops, animals, and trading opportunities. Multiple ocean monuments mean multiple chances at finding rare items like sponges and prismarine. Having a backup stronghold location is useful if the first one is difficult to navigate or if you want to explore multiple End portals.
The locate command makes this practical because you can find structures without spending hours wandering. Once you know where the second structure is, you can decide whether it is worth the travel time based on what you need from it.
Frequently Asked Questions
Does the locate command work in Survival mode?
Yes, but only if cheats are enabled. Cheats do not affect Survival mode difficulty or progression — they only unlock commands. You can enable cheats at any time through the "Open to LAN" menu without creating a new world.
What if I run the locate command and it says the structure is thousands of blocks away?
Structures spawn in specific patterns based on your world seed, so sometimes the nearest one is genuinely far away. Travel to the first one anyway, then run the command again — the second structure is usually much closer. If you want to avoid long travel, try a different structure type that spawns more frequently in your area.
Can I use the locate command to find the same structure twice?
No. Once you travel to a structure, running the command again shows you the next nearest one, not the same one. If you want to return to a structure you found earlier, write down its coordinates before you leave.
Do I need mods to find structures?
No. The locate command is built into the game on Java Edition 1.16+ and all recent Bedrock versions. Mods can add extra features like mapping tools, but they are not necessary to find structures.
What is the difference between Java and Bedrock when using locate?
Both versions support the locate command, but Java Edition shows clickable coordinate links in chat while Bedrock does not. On Bedrock, you have to manually navigate using the coordinates the game provides. The command itself works the same way on both versions.