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

Game does not count the distance properly if you locate a structure from more than 46340 blocks away

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w49a, 20w51a, 1.16.5, 21w06a, 21w10a, 1.17, 1.17.1, 21w41a, 21w42a, 1.19.1 Pre-release 2, 23w33a, 1.20.5
    • None
    • Confirmed
    • Commands

      The bug

      I was locating a structure and it is for example, a million blocks away. So, I was about 2977739 blocks away, however, the game said it is about 46000 blocks away. But I came one more block away from it, it said it is 0 blocks away. This firstly happens when the distance from the closest structure exceeds 46340 blocks.

      How to reproduce

      1. Start a new world using the seed that is in the screenshot
      2. Teleport to something like 58000 ~ 6248
      3. Locate a Stronghold
        It should be about maximally 37000 blocks away, the counting works correctly
      4. Teleport 46340 blocks away from the nearest stronghold
        Still works correctly
      5. Go one more block away from it
        It says it is 0 blocks away

      Plus, it doesn't always say it is 0 blocks away. Try teleporting different distances and if you are lucky, it might not say it is 0 blocks away. Look in the screenshots.

        1. 2020-04-04_08.30.32.png
          2020-04-04_08.30.32.png
          1.14 MB
        2. 2020-04-04_08.30.47.png
          2020-04-04_08.30.47.png
          1.46 MB
        3. 2020-04-04_08.31.00.png
          2020-04-04_08.31.00.png
          1.53 MB
        4. 2020-04-04_08.31.19.png
          2020-04-04_08.31.19.png
          1.33 MB
        5. 2020-04-04_08.31.31.png
          2020-04-04_08.31.31.png
          1.49 MB
        6. 2020-04-04_08.31.47.png
          2020-04-04_08.31.47.png
          1.50 MB
        7. 2020-04-04_08.49.23.png
          2020-04-04_08.49.23.png
          196 kB
        8. 2020-04-04_08.49.46.png
          2020-04-04_08.49.46.png
          365 kB
        9. 2021-02-10_18.40.59.png
          2021-02-10_18.40.59.png
          466 kB

            Unassigned Unassigned
            Vladimír W_V
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: