So as you can see in the picture, I am standing on X=-575 Z=-102. But, the block under me(targeted block) is at X=-576 Z=-103. Why is this? is it a glitch?
Commentaires
qualityvote22025-11-23 19:55
* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
fujtlevente2025-11-23 19:57
The version is 1.21.10 and I'm on Java.
eyyross2025-11-23 20:00
Due to rounding maybe?
ExtraStrengthFukitol2025-11-23 20:04
Because math. The block coordinate is based on the lower northwest corner of each block. The floating point always rounds down to the next whole number. -575.610 rounded down is -576 and -102.485 rounded down is -103.
fujtlevente2025-11-23 20:13
I know math but this isn't how Minecraft used to work a couple months ago. Did they change it or something?
ExtraStrengthFukitol2025-11-23 20:16
That's always how it's worked. A couple months ago you might have been looking at coordinates with positive values that round down more intuitively.
fujtlevente2025-11-23 20:18
Oh, yeah, I just checked. It's true. I can't believe how I was able to play Minecraft for 8 years and not knowing something this obvious.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)