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

Flying mobs do not obey generic.movement_speed attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.7.2, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 15w51b, Minecraft 16w03a, Minecraft 16w04a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9.1, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 17w13a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w21a, Minecraft 18w22c, Minecraft 1.13-pre3, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w50a, Minecraft 19w04b, 1.14.4, 1.15 Pre-release 1, 1.15.2, 20w19a, 1.16 Pre-release 1, 1.16.3, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 21w14a, 21w17a, 1.17, 1.17.1, 22w13a, 1.19.2, 1.19.3, 23w04a, 1.20.4
    • Confirmed
    • Commands
    • Normal
    • Platform

      The bug

      Using attribute generic.movement_speed on any mob that has the ability to fly and summoning them in will cause them to fly away without a speed decrease or increase even with the name of the attribute being movement speed rather than walking speed. This issue does not affect mobs that normally walk on the ground (Sheep, zombies, etc) and only flying based mobs (ghasts, bats, etc)

      How to reproduce

      Summon two normal ghasts, then run:

      /data merge entity @e[type=ghast,limit=1,sort=nearest] {Attributes:[{Name:generic.movement_speed,Base:0.001}]}
      

      Compare the speeds of the two ghasts. They are identical. Seeing as the default movement speed for living entities is 0.7, then the second ghast should be many times slower than the first one.

        1. MC-40949.mp4
          4.19 MB
        2. MC-40949.png
          MC-40949.png
          1.28 MB

            Unassigned Unassigned
            kalbintion Anthoni Wiese
            Votes:
            27 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              CHK: