Mojira Archive
MC-4794

Teleporting to negative coordinates is inaccurate

Moderator Note:

This is working as intended as there is no +0 and -0 coordinate. 0 itself cannot be positive or negative, there are only coordinates greater or less than 0.
The coordinate of a block is the coordinate rounded down, meaning anything from -0.1 to -1.0 is part of the -1 block coordinate. The center of the block at -1 is at -0.5.

When teleporting to a negative coordinate, the player ends up one block closer to 0.

For example, if I type "/tp 400 60 -704", I will instead end up in 400 60 -703.
-25 50 -39 would end up in -24 50 -38.
The same problem occurs if using command blocks.

I am not sure if the issue is present in previous versions.

Works As Intended

Lelele

2012-12-16, 07:23 AM

2023-09-13, 10:55 PM

2012-12-16, 10:23 AM

0

4

Unconfirmed

coordinate, inaccurate, negative, teleport

Minecraft 1.4.5

-