Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-239019

/locatebiome command doesn't consistently locate the nearest cave biome

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 21w37a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 7, 1.18, 1.18.1 Pre-release 1, 1.18.1, 22w06a, 1.18.2, 22w11a
    • 22w12a
    • None
    • Confirmed
    • Commands
    • Normal

    Description

      As we know, /locatebiome command doesn't specify y-value, which is intended (see MC-206286). However, the command doesn't correctly find the new introduced cave biomes (as they are 3D biomes distributed underground). This doesn't happen with the regular surface biomes.

      This leads to a number of issues where the command doesn't search accurately for the nearest biome when the player is on different height levels, and is inconsistent with how /locate works, as that command successfully finds a structure independent of your Y position.

      Note that this report is not implying the command should specify the Y coordinate, but to locate the nearest biome regardless of your Y position. Similar to /locate.

      Expected result

      /locatebiome command would find the nearest biome, regardless of the player's Y-position, like how /locate works.

      Observed result

      The command doesn't always find the nearest 3D biome, instead it searches horizontally depending of the Y-level the player is at, leading to situations where the command locates the biome very far away or can't locate it at all.

      How to reproduce

      1. Create a world, search for a lush caves or dripstone caves biomes on your current level.
      2. Now fly to a really high Y-level (i.e. above 180) and search again.
      3. On most cases, the command locates a different cave biome, or is unable to locate one.

      Attachments

        1. 2021-10-14_22.37.13.png
          2021-10-14_22.37.13.png
          1.01 MB
        2. 2021-10-14_22.37.46.png
          2021-10-14_22.37.46.png
          992 kB
        3. 2022-03-06_14.34.26.png
          2022-03-06_14.34.26.png
          7.88 MB
        4. screenshot-1.png
          screenshot-1.png
          1020 kB

        Issue Links

          Activity

            People

              billy.sjoberg [Mojang] Billy Sjöberg
              Chavamix700 Chava.
              Votes:
              11 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: