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

/teleport tries to centre-correct the y-axis

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      When using the /tp command with integer values, the entity being teleported will be centred to y+=0.5 in addition to being centred on the x and z axes.

      How to reproduce

      1. Create a new world
      2. Go into spectator mode
      3. Run /tp @s 0 0 0

      If you look at the block coordinates, you will end up at x=0.5 and z=0.5, as expected. But you will also end up at y=0.5.

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Nathan Adams
              Reporter:
              elyg Ely Golden
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: