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

Flying mobs do not obey generic.movementSpeed attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative
    • Category:
      (Unassigned)

      Description

      The bug

      Using attribute generic.movementSpeed 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.movementSpeed,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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kalbintion Anthoni Wiese
              • Votes:
                17 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: