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

Relative teleport works only once in datapack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.18.1
    • None
    • win 10, java build 1.8.0_311-b11
    • Unconfirmed
    • (Unassigned)

      Relative teleports (tp ^ ^ ^, tp ~ ~ ~) works only once in datapack

      as an example:

       

      tp @s ^ ^ ^1 <---- works fine
      tp @s ^ ^ ^1 <---- doesn't work
      tp @s ^ ^ ^1 <---- doesn't work

      this inluce using tp in recursive funcion calls.

       

      I attached a simple mc function to demonstrate it, and the ss of the result (white color means where is it to be expected and red is actual position). 

      This bug was not in version 1.16.2, however in version 21w20a this report (MC-226206) says about similar problem relative to command block.

            Unassigned Unassigned
            TMMplay Michał
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: