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

Mobs steered by passenger Slimes walk to 0,0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14.1
    • Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 16w02a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w15b, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12.2, Minecraft 18w01a, Minecraft 18w15a, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1
    • Confirmed
    • (Unassigned)

      Credit for discovery goes to Reddit user /u/JAZEYEN, as described in this thread: https://www.reddit.com/r/MinecraftCommands/comments/3tzhc0/something_intersting_you_might_want_to_try/

      When a mob that uses the standard base AI is spawned with a Slime riding and steering it, it will immediately head directly towards x=0, z=0. Specifically, the northwest corner of the block at 0,0. It will not attempt to avoid obstacles in any way, instead walking off of cliffs and getting stuck on one-block-high ridges if they are between it and the origin. When it reaches the northwest corner of 0,0, it will endlessly spin in circles around the point.

      This behavior is the same in all dimensions, and will continue even if 0,0 is in an unloaded chunk. Magma Cubes may be used instead of Slimes with no change to the effects. Removing the Slime at any time fully restores the mob to normal.

      To reproduce, start a world with cheats and run the command

      /summon zombie ~ ~ ~ {Invulnerable:1b,Passengers:[{id:slime,Invulnerable:1b}]}
      

      Watch as the Zombie heads for the origin. Replace Zombie with any mob from the following list and run again, as many times as you want.

      Tested, affects the following mobs:
      Chicken, Cow, Mooshroom, Pig, Rabbit, Sheep, Villager*, Zombie, Skeleton, Spider, Cave Spider, Creeper, Enderman, Witch, Zombie Pigman, Blaze, Wither Skeleton, Endermite, Silverfish, Horse, Ocelot, Wolf, Iron Golem, Snow Golem, Wither**
      * Villagers always run instead of walking when affected.
      ** Withers will rise continuously into the air to attack the Slime, but otherwise behave as described.

      Tested, does not affect the following mobs:
      Bat, Squid, Guardian, Ghast, Slime, Magma Cube, Ender Dragon

      NOTE: I have done some testing, and this bug has existed since 15w38a, when passenger AI overriding was first added. However, I can not select that as an Affected Version.


      Code analysis by marcono1234 can be found in this comment.

        1. 2016-01-17_18.35.39.png
          2016-01-17_18.35.39.png
          239 kB
        2. 2016-01-17_18.35.37.png
          2016-01-17_18.35.37.png
          236 kB
        3. 2016-01-17_18.32.43.png
          2016-01-17_18.32.43.png
          166 kB
        4. 2016-01-17_18.22.31.png
          2016-01-17_18.22.31.png
          228 kB
        5. 2016-01-17_18.16.04.png
          2016-01-17_18.16.04.png
          199 kB
        6. 2016-01-17_18.16.02.png
          2016-01-17_18.16.02.png
          197 kB
        7. 2016-01-17_18.15.04.png
          2016-01-17_18.15.04.png
          240 kB
        8. 2016-01-17_18.15.01.png
          2016-01-17_18.15.01.png
          248 kB
        9. 2016-01-17_18.14.59.png
          2016-01-17_18.14.59.png
          246 kB
        10. 2016-01-17_18.14.56.png
          2016-01-17_18.14.56.png
          231 kB
        11. 2016-01-17_18.14.47.png
          2016-01-17_18.14.47.png
          79 kB
        12. 2016-01-17_18.14.43.png
          2016-01-17_18.14.43.png
          105 kB
        13. 2015-11-24_09.47.54.png
          2015-11-24_09.47.54.png
          138 kB

            Unassigned Unassigned
            AjaxGb AjaxGb
            Votes:
            14 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: