mojira.dev
MC-40949

The movement_speed attribute has no effect on flying mobs

The bug

Mobs which fly (ghasts, bats, vexes, etc.) are not affected by the movement_speed attribute as terrestrial mobs are.

How to reproduce

Run the following:

/summon bat ~ ~ ~ {attributes:[{id:"minecraft:movement_speed",base:0d}]}

Observe how the bat flies around at normal speed.

Linked issues

Attachments

Comments 40

Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.8 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Hmmm... Compare to MC-33110 and MC-44849.

This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.

Very old ticket issue, but can confirm that ender dragons, ghasts, and bats do not obey the generic.movementSpeed attribute for MC version 15w40b using commands per below (replacing Ghast for the other two entitiy names)

summon Ghast ~ ~ ~ {Attributes:[{Name:"generic.movementSpeed",Base:0.001}]}

Variants for the base value (0.1, etc) have been tried as well with no success or notice in movement speed differences.

Edit: Apparently I dont understand site formatting mechanics even with the use of the help.

That's intended, movementSpeed is about walking, bats, ghasts, withers, squid and enderdragons don't walk, they fly/swim

30 more comments

Can confirm in 23w04a and 1.19.3

Related to MC-172801

Avoma's comment regarding allays is only partially true: allays, bees, withers, and parrots have a flying_speed attribute that controls their flying speed. Expected is that ghasts, bats, phantoms, ender dragons, blazes❓ and players (creative/spectator) also have that attribute, as they can all fly. Either that, or the attributes should be merged, which makes speed/slowness also affect the mobs with the attribute already.

himazinn_Japan

Can confirm in 1.21.4.

Can confirm in 25w15a, 25w16a, 25w17a, 25w18a, and 25w19a.

Example: /summon happy_ghast ~ ~ ~ {attributes:[{id:"minecraft:movement_speed",base:0d}]} and observe how happy ghasts flying at normal speed.

Patrick Shannon

Anthoni Wiese

(Unassigned)

Confirmed

Platform

Normal

Commands

/summon, attribute, movementSpeed

Minecraft 1.7.2, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 15w51b, ..., 1.19.3, 23w04a, 1.20.4, 1.21.4, 25w06a

Retrieved