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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6, 24w18a, 1.21
    • None
    • Confirmed
    • Combat, Commands

      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.
        /summon ravager ~ ~1 ~ {attributes:[{id:"generic.attack_knockback",base:5.0d}]}
        
      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.

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: