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

Teleporting at x from -0.25 to 0.25 using local coordinates is not accurate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.4
    • None
    • Unconfirmed
    • (Unassigned)

      Steps to reproduce:

      • Stand anywhere with x coordinate from -0.25 to 0.25 and 0 y rotation
        /tp @s 0 ~ ~ 0 0
      • Teleport forward with local coordinates
        /tp ^ ^ ^1

       

      When i used /data get entity @s Pos my x coordinate is 0.5d but after /tp ^ ^ ^1 it became 0.5000000000000001d  

       

            Unassigned Unassigned
            Crepity Crepity
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: