Skip to content
/craftcmd

Find the Nearest Village

Get coordinates of the nearest village structure

⚠︎ Awaiting in-game verification for Java 26.2

Shows the coordinates of the nearest village. Use /locate structure with other structure names (stronghold, mansion, etc.).

/locate structure village
25 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — coordinates appear in chat.
  4. Click the coordinates to set a waypoint or copy them.

Related commands

Instantly remove every mob from the world except players

/kill @e[type=!player]

Become nearly invincible

/effect give @p resistance 999999 255 true

Give yourself XP levels for enchanting

/experience add @p 30 levels

Switch to Peaceful mode so hostile mobs don't spawn

/difficulty peaceful
Find the Nearest Stronghold
Find the Nearest Stronghold Awaiting in-game verification
Both

Locate the stronghold with the end portal

/locate structure stronghold
Add Experience Levels
Add Experience Levels Awaiting in-game verification
Both

Give yourself or a player XP levels

/xp add @s 10L