mojira.dev
MC-228847

Inaccurate distance calculation in /locate feedback when stronghold is very far away

Minecraft could not calculate distance from the player to destination using the /locate command.

In the picture, my location was XYZ: 993791 / 56 / 3008381.

I used /locate command and located the nearest stronghold being at XYZ: 11768 / ~ / 19928 

However, the game calculated that the player is 0 blocks away from the stronghold, which is incorrect.

This is the only structure to be calculated inaccurately, other structures (igloo, mineshaft, mansion, etc) gave correct measures.

Linked issues

Attachments

Comments 2

The reason for why this only affects strongholds is probably because there are no strongholds outside of the center of the world.

Duplicate of MC-174659 / MC-177381.

Brian Khoa

(Unassigned)

Confirmed

Platform

Low

Commands

1.17, 1.21.1

Retrieved