<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Flocate</id>
	<title>Minecraft:Commands/locate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Flocate"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/locate&amp;action=history"/>
	<updated>2026-04-09T10:06:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/locate&amp;diff=49722&amp;oldid=prev</id>
		<title>imported&gt;Ririplasma28 at 14:25, 25 February 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/locate&amp;diff=49722&amp;oldid=prev"/>
		<updated>2026-02-25T14:25:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox command&lt;br /&gt;
|name=locate&lt;br /&gt;
|oplevel=&lt;br /&gt;
* 2 {{only|java|short=1}}&lt;br /&gt;
* 1 {{only|bedrock|short=1}}&lt;br /&gt;
|others=[[Minecraft:Cheat]] only{{only|bedrock|short=1}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Displays the [[Minecraft:coordinates]] for the closest [[Minecraft:generated structure]] or [[Minecraft:biome]]s of a given type in the chat for the player who executed the [[Minecraft:command]]. {{IN|java}}, it can also display for the closest [[Minecraft:Village mechanics|points of interest]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
For {{cd|/locate structure ...}}, the vertical coordinate of structure is ignored when finding. {{IN|java}}, the horizonal search range is 201x201 units of the Structure&amp;#039;s spacing (see [[Minecraft:Structure_set#Default_structure_sets|Default structure sets]] for values). For example, [[Minecraft:Mansion|Mansions]] have a spacing of 80 chunks, so it can search out ±128,000 blocks before failure. For concentric ring structures like [[Minecraft:Stronghold|Strongholds]], there is no set max distance. Structures in the [[Minecraft:Anvil_file_format|Anvil]] chunk region of the command&amp;#039;s execution are prioritized over others due to a bug, meaning the found structure is not necessarily the closest.&amp;lt;ref&amp;gt;{{bug|MC-138887}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For {{cd|/locate biome ...}}, the horizonal search resolution is 32 blocks, and vertical resolution is 64 blocks, which means biomes that are too narrow may not be found. The horizonal search range is 12801×12801 blocks {{in|java}}.{{Info needed|How about Bedrock Edition?}}&lt;br /&gt;
&lt;br /&gt;
{{IN|java}}, for {{cd|/locate poi ...}}, the search range is a sphere with a radius of 256 blocks.&lt;br /&gt;
&lt;br /&gt;
When locating structure or POI, if successful, the following message is sent to chat: &amp;quot;&amp;#039;&amp;#039;The nearest &amp;lt;requested thing(s)&amp;gt; is at [&amp;lt;x&amp;gt; ~ &amp;lt;z&amp;gt;] (&amp;lt;nowiki&amp;gt;&amp;lt;distance&amp;gt; blocks away)&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;quot;, in which &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;distance&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is the horizontal distance from the executor. &lt;br /&gt;
&lt;br /&gt;
When locating biome, if successful, the following message is sent to chat: &amp;quot;&amp;#039;&amp;#039;The nearest &amp;lt;requested biome(s)&amp;gt; is at [&amp;lt;x&amp;gt; &amp;lt;y&amp;gt; &amp;lt;z&amp;gt;] (&amp;lt;nowiki&amp;gt;&amp;lt;distance&amp;gt; blocks away)&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;quot;, in which &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;distance&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is the distance from the executor to the biome. &lt;br /&gt;
&lt;br /&gt;
{{IN|java}}, the coordinates in these messages can be clicked, which can put the command {{cmd|tp @s &amp;lt;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;gt; ~ &amp;lt;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;gt;}} in the chat box. The command can then be executed, and the player is sent to those coordinates. Also, {{in|java}}, this message does not appear if the command was run from a function.&amp;lt;ref&amp;gt;{{bug|MC-298295|||Works as Intended}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:&amp;lt;code&amp;gt;/locate structure &amp;lt;structure&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;/locate biome &amp;lt;biome&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;/locate poi &amp;lt;poi&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:&amp;lt;code&amp;gt;/locate structure &amp;lt;structure: Structure&amp;gt; [useNewChunksOnly: Boolean]&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;/locate biome &amp;lt;minecraft: Biome&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
{{el|je|short=1}} : {{argument|biome|resource_or_tag}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|biome: Biome|enum}}&lt;br /&gt;
: Specifies the [[Minecraft:biome]] to locate. {{IN|je}}, this argument also supports biome [[Minecraft:tag]]s.&lt;br /&gt;
:{{arg_desc|je=resource_or_tag|registry=minecraft:worldgen/biome|be=enum}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}} (case-sensitive): {{argument|structure|resource_or_tag_key}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|structure: Structure|enum}}&lt;br /&gt;
:Specifies the structure to locate. See [[Minecraft:Generated structures#Data values]].&lt;br /&gt;
:{{arg_desc|je=resource_or_tag_key|registry=minecraft:worldgen/structure|be=enum}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|useNewChunksOnly: Boolean|enum}}&lt;br /&gt;
:Specifies if a structure of any type wants to be located in new chunks only (&amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;) or not (&amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;), and it&amp;#039;s &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; by default.&lt;br /&gt;
:{{arg_desc|be=bool}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}} : {{argument|poi|resource_or_tag}}&lt;br /&gt;
:Specifies the point of interest to locate. &lt;br /&gt;
:{{arg_desc|je=resource_or_tag|registry=minecraft:point_of_interest_type}} &lt;br /&gt;
: The following are resource locations of POIs:&lt;br /&gt;
: {| class=&amp;quot;wikitable sortable collapsible collapsed&amp;quot;&lt;br /&gt;
!Point of Interest||ID&lt;br /&gt;
|-&lt;br /&gt;
|Blast Furnace&lt;br /&gt;
|{{Cd|armorer}}&lt;br /&gt;
|-&lt;br /&gt;
|Bee nest&lt;br /&gt;
|{{Cd|bee_nest}}&lt;br /&gt;
|-&lt;br /&gt;
|Beehive&lt;br /&gt;
|{{Cd|beehive}}&lt;br /&gt;
|-&lt;br /&gt;
|Smoker&lt;br /&gt;
|{{Cd|butcher}}&lt;br /&gt;
|-&lt;br /&gt;
|Cartography Table&lt;br /&gt;
|{{Cd|cartographer}}&lt;br /&gt;
|-&lt;br /&gt;
|Brewing Stand&lt;br /&gt;
|{{Cd|cleric}}&lt;br /&gt;
|-&lt;br /&gt;
|Composter&lt;br /&gt;
|{{Cd|farmer}}&lt;br /&gt;
|-&lt;br /&gt;
|Barrel&lt;br /&gt;
|{{Cd|fisherman}}&lt;br /&gt;
|-&lt;br /&gt;
|Fletching Table&lt;br /&gt;
|{{Cd|fletcher}}&lt;br /&gt;
|-&lt;br /&gt;
|Bed&lt;br /&gt;
|{{Cd|home}}&lt;br /&gt;
|-&lt;br /&gt;
|Cauldron&lt;br /&gt;
|{{Cd|leatherworker}}&lt;br /&gt;
|-&lt;br /&gt;
|Lectern&lt;br /&gt;
|{{Cd|librarian}}&lt;br /&gt;
|-&lt;br /&gt;
|Lightning Rod&lt;br /&gt;
|{{Cd|lightning_rod}}&lt;br /&gt;
|-&lt;br /&gt;
|Lodestone&lt;br /&gt;
|{{Cd|lodestone}}&lt;br /&gt;
|-&lt;br /&gt;
|Stonecutter&lt;br /&gt;
|{{Cd|mason}}&lt;br /&gt;
|-&lt;br /&gt;
|Bell&lt;br /&gt;
|{{Cd|meeting}}&lt;br /&gt;
|-&lt;br /&gt;
|Nether Portal&lt;br /&gt;
|{{Cd|nether_portal}}&lt;br /&gt;
|-&lt;br /&gt;
|Loom&lt;br /&gt;
|{{Cd|shepherd}}&lt;br /&gt;
|-&lt;br /&gt;
|Smithing Table&lt;br /&gt;
|{{Cd|toolsmith}}&lt;br /&gt;
|-&lt;br /&gt;
|Grindstone&lt;br /&gt;
|{{Cd|weaponsmith}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:This argument also supports point of interest type tags, as following:&lt;br /&gt;
: {| class=&amp;quot;wikitable sortable collapsible collapsed&amp;quot;&lt;br /&gt;
!Tag&lt;br /&gt;
!Includes&lt;br /&gt;
|-&lt;br /&gt;
|{{tag link|point of interest type|acquirable_job_site}}&lt;br /&gt;
|&lt;br /&gt;
{{Cd|armorer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|butcher}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|cartographer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|cleric}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|farmer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|fisherman}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|fletcher}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|leatherworker}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|librarian}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|mason}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|shepherd}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|toolsmith}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|weaponsmith}}&lt;br /&gt;
|-&lt;br /&gt;
|{{tag link|point of interest type|bee_home}}&lt;br /&gt;
|&lt;br /&gt;
{{Cd|bee_nest}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|beehive}}&lt;br /&gt;
|-&lt;br /&gt;
|{{tag link|point of interest type|village}}&lt;br /&gt;
|&lt;br /&gt;
{{tag link|point of interest type|acquirable_job_site}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|home}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Cd|meeting}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
{{Result table}}&lt;br /&gt;
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable|unparseable}}&lt;br /&gt;
&amp;lt;!--For biome and poi, it is unparseable if the specified resource location or tag is not valid--&amp;gt;&lt;br /&gt;
{{Result table|cmd=locate structure ...|The specified resource location or tag is not a valid structure or structure tag.|fail|N/A&amp;lt;!--in BE, if it is not valid, the argument is considered incorrectly specified--&amp;gt;}}&lt;br /&gt;
{{Result table|The requested structure doesn&amp;#039;t generate in this dimension.||fail}}&lt;br /&gt;
{{Result table|Unable to locate the requested structure within a square of 201×201 units of the Structure&amp;#039;s Spacing.{{needs testing|bedrock=1}}.}}&lt;br /&gt;
{{Result table|cmd=locate biome ...|Unable to locate the requested biome within a square of 12801×12801 blocks{{needs testing|bedrock=1}}.}}&lt;br /&gt;
{{Result table|cmd=locate poi ...|Unable to locate the requested poi within a ball with a radius of 256 blocks.||N/A}}&lt;br /&gt;
{{Result table|cmd=|succeed}}&lt;br /&gt;
{{Result table}}&lt;br /&gt;
&lt;br /&gt;
==Output==&lt;br /&gt;
&lt;br /&gt;
{{Output table}}&lt;br /&gt;
{{Output table|edition=je|On fail|0|0|0}}&lt;br /&gt;
{{Output table|cmd=locate structure ...&amp;lt;br&amp;gt;locate poi ...|On success|1|1|horizontal distance&amp;lt;br&amp;gt;between the executor and the requested structure or POI}}&lt;br /&gt;
{{Output table|cmd=locate biome ...|On success|1|1|distance between the executor and the requested biome}}&lt;br /&gt;
{{Output table|cmd=|edition=be|On fail|0}}&lt;br /&gt;
{{Output table|On success|1}}&lt;br /&gt;
{{Output table}}&lt;br /&gt;
&lt;br /&gt;
==Examples== &lt;br /&gt;
* To obtain the coordinates of the nearest woodland mansion: {{cmd|locate structure mansion}}&lt;br /&gt;
* To obtain the coordinates of the nearest pillager outpost in new chunks only: {{cmd|locate structure pillager_outpost true}}{{only|be}}&lt;br /&gt;
*To obtain the coordinates of the nearest village of any kind: {{cmd|locate structure #village}}{{only|je}}/{{cmd|locate structure village}}{{only|be}}&lt;br /&gt;
* To obtain the coordinates of the nearest desert biome: {{cmd|locate biome desert}}&lt;br /&gt;
*To obtain the coordinates of the nearest point of interest used by villagers: {{cmd|locate poi #village}}{{only|je}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== &amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.11|dev=16w39a|Added {{cmd|locate|link=none}}.}}&lt;br /&gt;
|{{HistoryLine||1.13|dev=17w45a|The y-coordinate is now returned as &amp;lt;code&amp;gt;64&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt;.|The result of the command, used by {{cmd|execute store}}, is the absolute distance to the structure.}}&lt;br /&gt;
|{{HistoryLine||1.13|dev=18w06a|{{cmd|locate|link=none}} now accepts different structure names for all structures previously grouped under &amp;lt;code&amp;gt;Temple&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Desert_Pyramid&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Igloo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Jungle_Pyramid&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;Swamp_Hut&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine|||dev=18w08a|Added a clickable teleport link to the {{cmd|locate|link=none}} command output.}}&lt;br /&gt;
|{{HistoryLine||1.14|dev=18w47a|{{cmd|locate|link=none}} now accepts &amp;lt;code&amp;gt;Pillager_Outpost&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine|||dev=18w48a|{{cmd|locate|link=none}} now accepts &amp;lt;code&amp;gt;New_Village&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine|||dev=?|{{cmd|locate|link=none}} no longer accepts &amp;lt;code&amp;gt;New_Village&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine||1.16|dev=20w11a|[[Minecraft:Nether fossil]]s can now be located.}}&lt;br /&gt;
|{{HistoryLine|||dev=20w21a|Structure names are now specified as lowercase.}}&lt;br /&gt;
|{{HistoryLine||1.18.2|dev=22w03a|{{cmd|locate|link=none}} now uses a namespace ID parameter instead of hard coded values.}}&lt;br /&gt;
|{{HistoryLine|||dev=Pre-release 1|{{cmd|locate|link=none}} now support [[Minecraft:tag]]s, using {{cd|#}} prefix to distinguish from normal IDs.&lt;br /&gt;
|The parameter is now a configured structure rather than a structure type.}}&lt;br /&gt;
|{{HistoryLine||1.19|dev=22w19a|{{cmd|locatebiome}} has been merged with {{cmd|locate|link=none}}.|Added the ability to locate points of interest.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|pocket}}&lt;br /&gt;
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added {{cmd|locate|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=alpha 0.17.0.2|Removed {{cmd|locate|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=alpha 1.0.0.0|Re-added {{cmd|locate|link=none}}. Works only for strongholds.}}&lt;br /&gt;
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|{{cmd|locate|link=none}} can now find other structures.}}&lt;br /&gt;
|{{HistoryLine|bedrock}}&lt;br /&gt;
|{{HistoryLine||?|{{cmd|locate|link=none}} can no longer locate structures that generate outside of the world boundary in [[Minecraft:old]] worlds.}}&lt;br /&gt;
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.23|{{cmd|locate|link=none}} can now find biomes.}}&lt;br /&gt;
|{{HistoryLine||1.19.30|dev=Preview 1.19.30.20|The original command {{cmd|locate &amp;lt;feature: Structure&amp;gt;|link=none}} is no longer used.}}&lt;br /&gt;
|{{HistoryLine|||dev=Preview 1.19.30.21|Added new structure names with underscores like {{cd|d=and|ancient_city|bastion_remnant|buried_treasure|end_city|pillager_outpost|ruined_portal}}.}}&lt;br /&gt;
|{{HistoryLine||1.21.100|dev=Preview 1.21.100.20|{{cmd|locate biome|link=none}} now requires that the biome&amp;#039;s namespace is specified (ex: &amp;lt;code&amp;gt;minecraft:plains&amp;lt;/code&amp;gt; instead of just &amp;lt;code&amp;gt;plains&amp;lt;/code&amp;gt;). Auto-complete suggestions for this command will now include namespaces.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* {{Cite|url=https://learn.microsoft.com/en-us/minecraft/creator/commands/commands/locate?view=minecraft-bedrock-stable|title=&amp;lt;code&amp;gt;/locate&amp;lt;/code&amp;gt; Command|website=Microsoft Learn|date=June 10, 2025}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox commands}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Befehl/locate]]&lt;br /&gt;
[[Minecraft:es:Comandos/locate]]&lt;br /&gt;
[[Minecraft:fr:Commandes/locate]]&lt;br /&gt;
[[Minecraft:ja:コマンド/locate]]&lt;br /&gt;
[[Minecraft:ko:명령어/locate]]&lt;br /&gt;
[[Minecraft:pt:Comandos/locate]]&lt;br /&gt;
[[Minecraft:ru:Команды консоли/locate]]&lt;br /&gt;
[[Minecraft:uk:Команди консолі/locate]]&lt;br /&gt;
[[Minecraft:zh:命令/locate]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Ririplasma28</name></author>
	</entry>
</feed>