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

Execute command teleporting across dimensions does not use correct relative coordinates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.2 Pre-Release 1
    • 24w39a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      When using the command /execute in <dimension> run teleport ~ ~ ~, destination is not always consistent with start location.

      Steps to Reproduce:

      1. Run command /execute in the_end run teleport ~ ~ ~ from the overworld. Note coordinates before and after.
      2. Run command /execute in the_nether run teleport ~ ~ ~ from the overworld and /execute in overworld run teleport ~ ~ ~ from the nether. Repeat and note coordinates changing after each input.

      Observed Results:

      Teleporting to the end places you at 8 65 8 regardless of starting coordinates, and teleporting to and from the nether wildly increases your x and z coordinates

      Expected Results:

      Teleporting to the end and back would maintain the exact same coordinates in both dimensions, and teleporting to and from the nether would return you to the same coordinates in the overworld while placing you at the correctly scaled coordinates in the nether

      Notes:

      Issue seems to also vary depending on players gamemode. For instance, in creative mode, teleporting from the end to the overworld works as expected, while in spectator mode it will also place you at 8 65 8.
       

            HugoHagglund [Mojang] SHugoh
            LadyEternal Erin Fite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: