The bug
Changing the movement speed attribute of the ravager with summon command or the /attribute
command, causes their movement speed to reset to their default movement speed, meaning that you cannot change movement speed attribute of the ravager unless you use a repeating command block.
How to reproduce
Spawn a ravager
Run
/attribute @n[type=minecraft:ravager] minecraft:movement_speed base set 0.0
→ ❌ The ravager still moves
Related issues
is duplicated by
Attachments
Comments

This bug is probably caused because ravagers can "accelerate" unlike other mobs.
Can confirm in 20w49a.
Can confirm in 21w03a.
Can confirm in 21w07a.
Can confirm in 21w15a.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w11a.
Can confirm in 1.19.
Can confirm in 1.19.2.