Menu
Skip to article

The /locate command in Minecraft: finding biomes and structures

The /locate command in Minecraft is used to find biomes, structures, and points of interest. It displays the coordinates of the nearest…

11.7K2 min
Guide

Note: The /locate command only works if cheats are enabled in single-player or if you have administrator privileges on a server.

How to Use the /locate Command

Command Syntax

The /locate command syntax varies depending on the Minecraft version:

  • Before version 1.19 (biomes had a separate /locatebiome <biome> command):

    /locate <structure>
    

    Example:

    /locate minecraft:village_desert
    

    Displays the coordinates of the nearest village.

  • Version 1.19 and later (poi is Java Edition only):

    /locate structure minecraft:<structure_name>
    /locate biome minecraft:<biome_name>
    /locate poi minecraft:<point_of_interest>
    

    Examples:

    /locate structure minecraft:stronghold
    

    Displays the coordinates of the nearest stronghold.

    /locate biome minecraft:jungle
    

    Finds the nearest jungle biome.

Available Structures and Biomes

Some structures that can be located using /locate structure:
mansion
stronghold
village_plains (also village_desert, village_savanna, village_snowy, village_taiga; on Java #village matches all)
pillager_outpost
fortress
end_city
shipwreck
ocean_ruin_cold and ocean_ruin_warm (on Java #ocean_ruin matches both)
bastion_remnant
ancient_city
You can view the full list of structures using auto-complete after typing /locate structure.
Overworld Biomes badlands
bamboo_jungle
beach
birch_forest
cherry_grove
cold_ocean
dark_forest
deep_cold_ocean
deep_dark
deep_frozen_ocean
deep_lukewarm_ocean
deep_ocean
desert
eroded_badlands
dripstone_caves
flower_forest
forest
frozen_ocean
frozen_peaks
frozen_river
grove
ice_spikes
jagged_peaks
jungle
lukewarm_ocean
lush_caves
mangrove_swamp
meadow
mushroom_fields
ocean
old_growth_birch_forest
old_growth_pine_taiga
old_growth_spruce_taiga
pale_garden
plains
river
savanna
savanna_plateau
snowy_beach
snowy_plains
snowy_slopes
snowy_taiga
sparse_jungle
stony_peaks
stony_shore
sunflower_plains
swamp
taiga
windswept_forest
windswept_gravelly_hills
windswept_hills
warm_ocean
windswept_savanna
wooded_badlands
Nether Biomes basalt_deltas
crimson_forest
nether_wastes
soul_sand_valley
warped_forest
End Biomes end_barrens
end_highlands
end_midlands
the_end
the_void

Now, you can locate any of these biomes using the command /locate biome minecraft:<biome_name>. For example:

/locate biome minecraft:mangrove_swamp

This command will display the coordinates of the nearest mangrove swamp.

How to Use the Located Coordinates

After executing the command, the coordinates of the nearest structure or biome will appear in the chat. To quickly teleport there, use the teleport command:

/tp <player_name> <x> <y> <z>

Example:

/tp Steve 1000 70 -2000

This will teleport the player Steve to the specified coordinates.

This will teleport the player Steve to the specified coordinates.

In newer versions of Minecraft, you can click on the coordinates in the chat, and they will automatically be inserted into the teleport command.