Coordinates Are Messed Up
The block that I am "looking at" is not the same as when I stand in the same space. When using /setblock and related commands you have to enter the "looking at" coordinates, which are different than if standing there.
Environment
OS: Windows 8
Created Issue:
Coordinates Are Messed Up
The block that I am "looking at" is not the same as when I stand in the same space. When using /setblock and related commands you have to enter the "looking at" coordinates, which are different than if standing there.
Environment
OS: Windows 8
Added Linked Issues:
relates to



Cannot confirm, see screenshots.
Look at the last screenshot. You are apparently at different coordinates than the ones you are looking at.
you stand on the block so your y cord is 1 higher, thats intended.
if this isn't what you mean, please explain it better
No, I'm standing on block -16 / 96 and I'm looking on -16 / 96.
Of yourse my feet are on level 64 - the top of block 63.
What other results do you except from my screenshots ?
In the third screenshot it says you are standing on -15, but looking at -16. I might record a video tomorrow to show what I see when I go in game.
Cannot reproduce. The difference in Kumasasa's third shot is that there is an odd angle (he isn't actually standing on x=-16, but x=-15) See my screenshot: http://imgur.com/3CSALSR.
I believe this is intended. The "Block" coordinates are telling you what block the player is occupying. Specifically, the y-value in the "Block" coordinates is the y-value of the block occupied by the lower half of the player. The y-value in the "Looking at" coordinates is the y-value of the block that the player's cursor is over (when in reach). So when you are looking at a block on the ground, the y-value is correct for being 1 less than the y-value of the player.
@MJo - I believe OP's talking about x coords (unless Y coords go negative).
Ok, I think I see where the confusion is. I think in the OP Reese is referring to the difference in y-values between the "Block" coordinates and the "Looking at" coordinates, but in his second comment he accidentally used the x-value from Kumasasa's third screenshot. There is no odd angle in Kumasasa's third screenshot. His player's x-value is -16 and the block he is looking at (under his feet) also has an x-value of -16. Look at the screenshot again.
The difference however is in the y-value. His player's y-value is 64 and the block he is looking at (under his feet) has a y-value of 63. Reese, you will need to clarify exactly what you think the bug is. Use the recommended format for describing bugs:
What I expected to happen was...
What actually happened was...
Steps to reproduce:
1.
2.
3. ...
... or this is the common misconception between the coordinates of the blocks and player coordinates, see explanation in
MC-4794I made a video on what I see: http://youtu.be/CjAgbAy0jI8
The block coordinates go from -2 -1 0 1 2 etc, but there is no block -0.
Therefore while standing on a block 2 your coordinates are e.g. 2.123 but while standing on a block -2 your coordinates are -1.123.
See
MC-4794andMC-36602The video does clarify your meaning, thanks. However, this isn't a bug in the game (note that your "Block" and "Looking At" are always the same when looking down at the block at your feet). The XYZ values only appear different due to the way they are counted. Kumasasa explains this well in
MC-4794, as quoted below:And continued:
Ok, thanks, I see now. Sorry for the waste of time.
NP