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

/locate does not always return the nearest structure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.5
    • Unconfirmed
    • (Unassigned)

      This is a duplicate of MC-138887 and can be marked as such.

       

      Playing on a windows computer, version 1.20.5 with experimental features enabled.

      Using the /locate command to find structures does not always reveal the nearest one (see images below). In multiple instances, moving only one block (or less) will cause the command to find a structure that is hundreds of blocks further away.

      Steps to replicate: Repeatedly use /locate while moving around. At some point, the distance to the nearest structure may jump up/down, indicating that a structure other than the nearest one is being returned (for example, in the third set of images, the player should only be 469+1=470 blocks away from the nearest ruined portal, not 1520).

      Expected behavior: Using the /locate command would return the nearest structure.

      Seed: 898702134

        1. Screenshot 2024-04-27 090008.png
          1.35 MB
          D W
        2. Screenshot 2024-04-27 090059.png
          1.31 MB
          D W
        3. Screenshot 2024-04-27 090622.png
          906 kB
          D W
        4. Screenshot 2024-04-27 090637.png
          704 kB
          D W
        5. Screenshot 2024-04-27 090924.png
          1.50 MB
          D W
        6. Screenshot 2024-04-27 090938.png
          1.52 MB
          D W

            Unassigned Unassigned
            DrD314 D W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: