/locate does not always locate the nearest structure
Reproduction steps
To reproduce, use the seed -5957804310435822198 and use the locate command and teleport to the first ocean ruin at 32 ~ -160. When you teleport to -18 ~ -160, the locate command will locate a different ocean ruin even though the first structure you located is nearest to you.
Cause
See this comment
2018-11-04, 07:22 PM
2024-10-31, 03:09 AM
51
26
Minecraft 1.13.2 - 1.21.3
Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 19w14a, 1.14.4, 1.15 Pre-release 6, 1.15.2, 20w16a, 20w17a, 20w19a, 20w21a, 20w22a, 1.16 Pre-release 2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w29a, 1.16.2, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w49a, 1.16.5, 21w11a, 21w15a, 21w19a, 1.17, 1.17.1 Release Candidate 1, 1.17.1, 21w39a, 21w42a, 1.18, 1.18.1, 22w03a, 1.18.2 Pre-release 1, 1.18.2 Pre-release 3, 1.18.2, 22w11a, 22w12a, 22w13a, 22w14a, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1, 1.19.2, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Release Candidate 2, 1.19.4, 23w12a, 23w18a, 1.20 Pre-release 1, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2, 1.20.4, 24w04a, 1.20.5, 1.20.6, 24w21a, 24w21b, 1.21, 24w38a, 1.21.3
-