Different math
I’m trying to replicate this build from a video. ( Cause I’m not creative enough lol. ) and I’m noticing that if u count out the blocks in ur head vs the coordinates. It comes out to be different. Which 1 should I go by ? , I’m playing on Bedrock
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*)
Whole number coordinates *always* refer to the exact location of the lower northwest corner of the block. Java can show this as a decimal but Bedrock will always show a whole number whenever you're in that block's respective space. For practical purposes, you can think of your location as the logical center of a block -- for example, when you do something like `/tp 40 66 85` you're being placed at X 40.5 and Z 85.5 in the center of the block but your coordinates are reported as 40 and 85.
Here's a quick example that might help show where you think there's a discrepancy. Images are taken in Java to show more precision, but block coordinates are also displayed as they would appear in Bedrock:
https://imgur.com/a/vS1regm
You can see that are five blocks here (first image). The block on the west edge has an X coordinate of -256 (or -255.500 rounded down, second image. The block on the east edge has an X coordinate of -252 (or -251.500 rounded down, third image). If you subtract -256 from -252 you get... 4. But there are 5 blocks? Count off the coordinates of those blocks: -256, -255, -254, -253, -252. 5 numbers, so 5 blocks. The distance between two blocks on an axis is x2-x1 but the number of blocks in the range is going to be x2-x1+1.
One additional tip if you're using coordinates to count blocks in a line: If both numbers are even, the total number of blocks is odd. If both numbers are odd, the total number of blocks is also odd. If one is even and the other is odd, the total number of blocks is even. But rather than trying to reason this out from information on the screen, go into a world, place some blocks, and see for yourself that the numbers do actually work out.
Some additional reading that might help: https://minecraft.wiki/w/Coordinates