Commands/locatebiome

From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.
locatebiome
Restrictions

Operator

First introduced

Java Edition 1.16 (20w06a)

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

Syntax[edit]

locatebiome <biome ID>

Arguments[edit]

<biome ID>
Specifies the biome to be located. See Biome/ID for a list of available biome IDs.

Result[edit]

Searches for the nearest coordinates where the given biome would be generated using the current seed in the current version of Minecraft, ignoring existing terrain that may have different biomes.

Fails if the arguments are not specified correctly, or if unable to locate the requested biome (for example, if the dimension does not generate a given biome).

  • If the biome is invalid, the following error message is given: "There is no biome named <Biome ID>"
  • If the biome is valid but cannot be found, the following error message is given: "Could not find a biome of type <Biome Name> within reasonable distance"

If successful, the following message is sent to chat: "The nearest <biome name> is at [<x> ~ <z>] (<distance> blocks away)". The coordinates can be clicked, which will 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.

Example[edit]

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

History[edit]

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>'".