... the player who executed the command. In Java Edition, it can also display points of interest. Java Edition /locate structure /locate biome /locate poi.
MinecraftWiki
Explore
MainPage
AllPages
InteractiveMaps
MinecraftWiki
Mainpage
Communityportal
Projects
Wikirules
Styleguide
Recentchanges
Randompage
Sandbox
Adminnoticeboard
Directorspage
WikiDiscord
Games
Minecraft
MinecraftEarth
MinecraftDungeons
Usefulpages
Trading
Brewing
Enchanting
Mobs
Blocks
Items
Crafting
Smelting
Tutorials
Resourcepacks
Redstonecircuits
Minecraftlinks
Website
MinecraftDiscord
Support
Bugtracker
Feedback
Twitter
Facebook
YouTube
MinecraftTwitch
Gamepedia
Gamepediasupport
Reportabadad
HelpWiki
Contactus
FANDOM
Games
Anime
Movies
TV
Video
Wikis
ExploreWikis
CommunityCentral
StartaWiki
Register
Don'thaveanaccount?
SignIn
Advertisement
in:
Commands
English
Deutsch
日本語
Português
Русский
Українська
中文
Commands/locate
/locatebiome
/locatepoi
BedrockEdition
/locate[untilBE1.19.30]
/locatestructure
/locatebiome
Arguments[]
JE(case-sensitive):
BE:
Specifiesthebiometolocate.Alsosupportsbiometags[JavaEditiononly].
JE(case-sensitive):
BE:
BE:[untilBE1.19.30]
Specifiestheconfiguredstructuretolocate.Mustbeoneofthefollowing:
Structurename
JavaEdition
BedrockEdition
Dimension
Ancientcity
ancient_city
ancientcityancient_city[upcoming:BE1.19.30]
Overworld
Bastionremnant
bastion_remnant
bastionremnantbastion_remnant[upcoming:BE1.19.30]
TheNether
Buriedtreasure
buried_treasure
buriedtreasureburied_treasure[upcoming:BE1.19.30]
Overworld
Endcity
end_city
endcityend_city[upcoming:BE1.19.30]
TheEnd
Fortress
fortress
fortress
TheNether
Woodlandmansion
mansion
mansion
Overworld
Mineshaft
mineshaftmineshaft_mesa
mineshaft
Overworld
Monument
monument
monument
Overworld
Netherfossil
nether_fossil
—
TheNether
Oceanruins
ocean_ruin_coldocean_ruin_warm
ruins
Overworld
Pillageroutpost
pillager_outpost
pillageroutpostpillager_outpost[upcoming:BE1.19.30]
Overworld
Ruinedportal
ruined_portalruined_portal_desertruined_portal_jungleruined_portal_mountainruined_portal_netherruined_portal_oceanruined_portal_swamp
ruinedportalruined_portal[upcoming:BE1.19.30]
Overworld,TheNether
Shipwreck
shipwreckshipwreck_beached
shipwreck
Overworld
Stronghold
stronghold
stronghold
Overworld
Desertpyramid
desert_pyramid
temple
Overworld
Igloo
igloo
Junglepyramid
jungle_pyramid
Swamphut
swamp_hut
Village
village_desertvillage_plainsvillage_savannavillage_snowyvillage_taiga
village
Overworld
InJavaEdition,thisargumentalsosupportsconfiguredstructurefeaturetag,asfollowing:
Tag
Structure(s)
#dolphin_located
UnderwaterruinsShipwreck
#eye_of_ender_located
Stronghold
#mineshaft
Mineshaft
#ocean_ruin
Underwaterruins
#on_ocean_explorer_maps
Oceanmonument
#on_treasure_maps
Buriedtreasure
#on_woodland_explorer_maps
Woodlandmansion
#ruined_portal
RuinedPortal
#shipwreck
Shipwreck
#village
Village
JE(case-sensitive):
Specifiesthepointofinteresttolocate.Mustbeoneofthefollowing:
PointofInterest
ID
BlastFurnace
armorer
Beenest
bee_nest
Beehive
beehive
Smoker
butcher
CartographyTable
cartographer
BrewingStand
cleric
Composter
farmer
Barrel
fisherman
FletchingTable
fletcher
Bed
home
Cauldron
leatherworker
Lectern
librarian
LightningRod
lightning_rod
Lodestone
lodestone
Stonecutter
mason
Bell
meeting
NetherPortal
nether_portal
Loom
shepherd
SmithingTable
toolsmith
Grindstone
weaponsmith
Thisargumentalsosupportspointofinteresttypetag,asfollowing:
Tag
PointofInterests
#acquirable_job_site
armorer
butcher
cartographer
cleric
farmer
fisherman
fletcher
leatherworker
librarian
mason
shepherd
toolsmith
weaponsmith
#bee_home
bee_nest
beehive
#village
#acquirable_job_sitehome
meeting
Note[]
Theverticalcoordinateofthestructureisignoredwhenfinding.
InJavaEdition,structuresintheAnvilchunkregionofthecommand'sexecutionareprioritizedoverothersduetoabug,meaningthefoundstructureisnotnecessarilytheclosest.[1]
Ifsuccessful,thefollowingmessageissenttochat:"Thenearestisat[~](blocksaway)",inwhichisthehorizontaldistancebetweentheexecutorandthestructurefeature.InJavaEdition,thecoordinatescanbeclicked,whichcanputthecommand/tp@s~inthechatbox.Thecommandcanthenbeexecuted,andtheplayerissenttothosecoordinates.
Result[]
CommandTriggerJavaEditionBedrockEdition
anytheargumentsarenotspecifiedcorrectlyUnparseableFailedtherequestedfeaturedoesn'tgenerateinthisdimensionFailedunabletolocatetherequestedfeaturewithinasquareof201×201chunks[needs testing inBedrockEdition]OnsuccessDisplaysthecoordinatesforthecloseststructureofthegiventypeinthechat
Output[]
CommandEditionSituationSuccessCount/executestoresuccess.../executestoreresult...
anyJavaEditionOnfail000Onsuccess11horizontaldistancebetweentheexecutorandthestructurefeatureBedrockEditionOnfail0N/AN/AOnsuccess1N/AN/A
Examples[]
Toobtainthecoordinatesofthenearestwoodlandmansion:/locatestructuremansion//locatemansion[BedrockEditiononly][untilBE1.19.30]
Toobtainthecoordinatesofthenearestvillageofanykind:/locatestructure#village[JavaEditiononly]//locatestructurevillage[BedrockEditiononly]
Toobtainthecoordinatesofthenearestdesertbiome:/locatebiomedesert
Toobtainthecoordinatesofthenearestpointofinterestusedbyvillagers:/locatepoi#village[JavaEditiononly]
History[]
JavaEdition
1.1116w39aAdded/locate.
1.1318w06a/locatenowacceptsdifferentstructurenamesforallstructurespreviouslygroupedunderTemple:Desert_Pyramid,Igloo,Jungle_Pyramid,andSwamp_Hut.
18w08aAddedaclickableteleportlinktothe/locatecommandoutput.
1.1620w11aNetherfossilscannowbelocated.
20w21aStructurenamesarenowspecifiedaslowercase.
1.18.222w03a/locatenowusesanamespaceIDparameterinsteadofhardcodedvalues.
Pre-release1/locatenowsupporttags,using#prefixtodistinguishfromnormalIDs.
Theparameterisnowaconfiguredstructureratherthanastructuretype.
1.1922w19a/locatebiomehasbeenmergedwith/locate.Addedtheabilitytolocatepointsofinterest.
PocketEdition
1.0.0alpha0.17.0.1Added/locate.
alpha0.17.0.2Removed/locate.
alpha1.0.0.0Re-added/locate.Worksonlyforstrongholds.
1.1.0alpha1.1.0.0/locatecannowfindotherstructures.
BedrockEdition
1.19.10beta1.19.10.23/locatecannowfindbiomes.
UpcomingBedrockEdition
1.19.30?/locateisnolongerused.
References[]
↑MC-138887
Commands Viewat:Template:Commands/content[edit]
Categories:
Commands
Addcategory
Cancel
Save
Deutsch
日本語
Português
Русский
Українська
中文
CommunitycontentisavailableunderCCBY-NC-SA3.0unlessotherwisenoted.
Advertisement
FanFeed
1
Trading
2
Brewing
3
Villager
UniversalConquestWiki
Let'sGoLuna!Wiki
Club57Wiki
FollowonIG
TikTok
JoinFanLab