Game does not count the distance properly if you locate a structure from more than 46340 blocks away
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
- Start a new world using the seed that is in the screenshot
- Teleport to something like 58000 ~ 6248
- Locate a Stronghold
→
It should be about maximally 37000 blocks away, the counting works correctly - Teleport 46340 blocks away from the nearest stronghold
→
Still works correctly - 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.
2020-04-04, 09:46 AM
2024-08-18, 12:08 PM
11
7
1.15.2 - 1.20.5
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
-