Minecraft Wiki
Advertisement
Minecraft Wiki
Information icon.svg
This feature is exclusive to Java Edition. 
locatebiome
Permission level
required

2

Restrictions

None

Displays the coordinates for the closest biome of a given biome ID in the chat for the player who executed the command.

Syntax[]

locatebiome <biome>

Arguments[]

<biome>: resource_location

Specifies the biome to be located. See Biome/ID for a list of available biome IDs.
Must be a resource location.

Note[]

Only the biome with the same vertical coordinate as the execution position can be located. The search resolution is 32 blocks, which means biomes that are narrower than 32 blocks may not be found.

If successful, the following message is sent to chat: "The nearest <biome name> is at [<x> ~ <z>] (<distance> blocks away)", in which <distance> is the horizontal distance between the executor and the biome. The coordinates can be clicked, which can put the command /tp @s <x> ~ <z> in the chat box. The command can then be executed, and the player will be sent to those coordinates.

Result[]

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
unable to locate the requested biome within a square of 12801×12801 blocks area Failed
On successDisplays the coordinates for the closest biome of the given type in the chat

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11horizontal distance between the executor and the biome

Example[]

  • To obtain the coordinates of the nearest desert:
    locatebiome desert

History[]

Java Edition
1.1620w06aAdded /locatebiome.
Pre-release 1The biome ID in the error messages for an invalid biome or a valid biome that could not be found is now in quotes.
Changed the error message for an invalid biome from "There is no biome named <biome ID>" to "There is no biome with type '<biome ID>'".
Advertisement