Debug Menu Cordinate tracking is 2 blocks off
there seems to be issues with the player coordinate tracker and the block coordinate tracker. it seems that "XYZ" and "Looking at" are usually a block off or more, its only affecting the x and z but its a big issue. i have created multiple test environments, i tried playing offline with a world from pre3 and one from pre4, and tried playing from multiplayer. the problem still persists and each world the coordinates are off by 1 - 2 blocks. the included screenshot is an example of the issue.
Environment
(windows machine)
Windows 10
Java 8
default memory allocation
(linux machine)
Ubuntu 14.04 LTS
Java 7
default memory allocation
(server specs)
Ubuntu 15.10
OpenJDK 8
8 gb ram
Linked Issues
Created Issue:
Debug Menu Cordinate tracking is 2 blocks off
there seems to be issues with the player coordinate tracker and the block coordinate tracker. it seems that "XYZ" and "Looking at" are usually a block off or more, its only affecting the x and z but its a big issue. i have created multiple test environments, i tried playing offline with a world from pre3 and one from pre4, and tried playing from multiplayer. the problem still persists and each world the coordinates are off by 1 - 2 blocks. the included screenshot is an example of the issue.
Environment
(windows machine)
Windows 10
Java 8
default memory allocation
(linux machine)
Ubuntu 14.04 LTS
Java 7
default memory allocation
(server specs)
Ubuntu 15.10
OpenJDK 8
8 gb ram
duplicates

There is no -0, see
MC-4794When coordinates are displayed to the nearest block, they are always rounded down (towards more negative, not towards zero). 626.5 would go to 626, and -626.5 goes to -627.