mojira.dev
MC-272077

Entities hit by indirect sweeping attacks receive more knockback than entities hit by direct sweeping attacks

The Bug:

Entities hit by indirect sweeping attacks receive more knockback than entities hit by direct sweeping attacks.

The same amount of knockback should be applied to every entity.

Steps to Reproduce:

  1. Summon two husks that cannot move around that are next to one another by using the commands provided below.

    /summon minecraft:husk ~ ~ ~-3 {attributes:[{id:"minecraft:movement_speed",base:0.0}]}
    /summon minecraft:husk ~1 ~ ~-3 {attributes:[{id:"minecraft:movement_speed",base:0.0}]}
  2. Obtain a wooden sword and stand in front of any one of the husks.

  3. Attack both of the husks with a singular sweeping attack and observe the knockback that they both receive.

Observed Behavior:

Different amounts of knockback are applied to entities depending on whether they were directly or indirectly damaged.

Expected Behavior:

The same amount of knockback should be applied to every entity that's damaged.

Linked issues

Attachments

Comments 1

Avoma

(Unassigned)

Community Consensus

Gameplay

Normal

Combat, Enchantments

Minecraft 15w49a, 1.20.6, 24w20a, 1.21, 1.21.2 Pre-Release 3, 1.21.2, 1.21.4, 1.21.5

Retrieved