Changing the attack knockback value of Ravagers doesn't change knockback strength applied to players blocking with a shield, despite normal hits dealing knockback proportionally to said value.
This is not the case with hoglins/zoglins, where changing their attack knockback value will deal different knockback strength to players blocking with shields. This issue has been split from MC-235198.
How to reproduce
Summon a normal Ravager and block its attack with a shield.
Notice how the ravager deals a certain amount of knockback to you.
Summon a Ravager with an attack_knockback of 5, do the same again.
/execute summon minecraft:ravager run attribute @s minecraft:attack_knockback base set 5Notice how the knockback dealt is still the same.
Expected result
Changing the attack knockback attribute of Ravagers would affect their knockback strength applied to players blocking with a shield, like hoglins/zoglins.
Observed result
Ravager knockback strength to players blocking is unaffected by changing their attack knockback to higher or lower values.
Can confirm.