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

Teleporting an entity resets its Motion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w36a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w01a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When teleporting an entity using the /tp or the /teleport command, its Motion is reset to Motion:[0.0d,0.0d,0.0d].

      How to reproduce

      It happens with absolute and with relative coordinates. For example, put either of these commands in a repeating command block:

      /tp @e[type=Zombie] ~ ~ ~1
      
      /execute @e[type=Zombie] ~ ~ ~ /teleport @e[c=1] ~ ~ ~1
      

      What I expected to happen was

      The Zombie should be teleported one block further, then go down because of the gravity, then be teleported again, then go down, etc.

      What actually happened was

      The zombie was going in straight line without going down. It is the same if the zombie has a levitation effect, it won't go up because the teleportation resets its Motion.

        Attachments

        1. 1.10 front.png
          1.10 front.png
          152 kB
        2. 1.10 side.png
          1.10 side.png
          259 kB
        3. 1.9.4 front.png
          1.9.4 front.png
          156 kB
        4. 1.9.4 side.png
          1.9.4 side.png
          337 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                TheMrZZ TheMrZZ
              • Votes:
                14 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: