X Coordinate inaccuracy within XYZ display on F3 menu
It appears that the X coordinate on the "XYZ" display of the F3 menu is either incorrectly rounded or offset by 1. The "Targeted Block" display seems to be displaying it correctly however, evident by the command block screenshot I've included.
Between the 2 screenshots of the F3 menu, you can see there is a desync of the X coordinate between the "XYZ" and "Targeted Block" display.
One screenshot has been taken in 1.16.5, and the other has been taken in 21w06a. In 1.16.5's screenshot, the display has no desync. Meanwhile, 21w06a's screenshot shows the desync.
Environment
Operating System: Windows 10
Java Version: Version 8 Update 261
Created Issue:
X Coordinate inaccuracy within XYZ display on F3 menu
It appears that the X coordinate on the "XYZ" display of the F3 menu is either incorrectly rounded or offset by 1. The "Targeted Block" display seems to be displaying it correctly however, evident by the command block screenshot I've included.
Between the 2 screenshots of the F3 menu, you can see there is a desync of the X coordinate between the "XYZ" and "Targeted Block" display.
One screenshot has been taken in 1.16.5, and the other has been taken in 21w06a. In 1.16.5's screenshot, the display has no desync. Meanwhile, 21w06a's screenshot shows the desync.
Environment
Operating System: Windows 10
Java Version: Version 8 Update 261



The XYZ coordinates are alwyas the rounded down player coordinates.
With negative values, "rounding down" means the negative value becomes bigger.
Note that this is the same for the Z coordinate in your first screenshot.