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

Teleporting a mob while it is pathfinding will make it navigate back to where it was originally going

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 3
    • Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, 1.14.4, 19w34a, 19w35a, 19w45b, 19w46b, 1.15 Pre-release 6, 1.15, 1.15.1 Pre-release 1, 1.15.2, 20w06a, 20w07a, 20w16a
    • None
    • Confirmed
    • Mob behaviour
    • Normal

      The bug

      Teleporting a mob while it is trying to pathfind to a position will make it try to go in a straight line directly pack to where it was going to, and then continue on as normal if it reaches that spot. If the spot they are pathfinding to is above them they will just jump and spin when they get to the X/Z coordinates. (Image 4)

      Video of this happening: https://youtu.be/MSxZZAcP5q4
      Somewhat reproducing the bug: https://youtu.be/rKRA9cnjCXk

      How to reproduce

      1. Make a new creative world
      2. Spawn a bunch of e.g. creepers
      3. Fly away then type /tp @e[type=creeper] @s
      4. Watch the mobs carefully as they travel in straight lines to where they were trying to travel to originally.

      Or,

      1. Make a new superflat world
      2. Set it to night
      3. Type /tp @e @p and watch the mobs carefully

        1. 2019-05-04_10.06.27.png
          1.99 MB
          Nixinova
        2. 2019-05-04_10.06.31.png
          2.01 MB
          Nixinova
        3. 2019-05-04_10.06.36.png
          2.02 MB
          Nixinova
        4. 2019-05-18_19.33.11.png
          1.32 MB
          Nixinova
        5. 2019-05-18_19.33.13.png
          1.32 MB
          Nixinova
        6. 2019-05-18_19.33.15.png
          1.33 MB
          Nixinova

            Karaoglu [Mojang] eowyn36
            Nixinova Nixinova
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: