mojira.dev
MC-271698

Ravagers knockback strength to players blocking with a shield is not affected by changing the attack_knockback attribute to different values

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

  1. Summon a normal Ravager and block its attack with a shield.

  2. Notice how the ravager deals a certain amount of knockback to you.

  3. 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 5
  4. Notice 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.

Linked issues

Comments 1

Can confirm.

syarumi

(Unassigned)

Confirmed

Combat, Commands

1.20.6, 24w18a, 1.21, 1.21.3, 1.21.4 Pre-Release 3, 25w02a

Retrieved