Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-4794

Teleporting to negative coordinates is inaccurate

XMLWordPrintable

    • Unconfirmed
    • Creative

      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.

        1. 2013-04-01_21.59.36.png
          2013-04-01_21.59.36.png
          98 kB
        2. 2013-04-01_21.59.55.png
          2013-04-01_21.59.55.png
          93 kB
        3. 2013-04-01_22.08.10.png
          2013-04-01_22.08.10.png
          492 kB
        4. 2013-04-01_22.24.39.png
          2013-04-01_22.24.39.png
          40 kB
        5. 2013-10-23_21.14.54.png
          2013-10-23_21.14.54.png
          41 kB
        6. 2013-10-23_21.15.13.png
          2013-10-23_21.15.13.png
          41 kB
        7. 2013-10-23_21.15.55.png
          2013-10-23_21.15.55.png
          42 kB
        8. 2013-10-23_21.16.02.png
          2013-10-23_21.16.02.png
          44 kB

            Unassigned Unassigned
            magixx Lelele
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: