Mojira Archive
MC-165302

The sweeping attack doesn't apply strength or weakness effects to other mobs

The Bug:

The sweeping attack doesn't apply strength or weakness effects to other mobs.

Steps to Reproduce:

  1. Obtain a netherite sword and give yourself the strength effect by using the command provided below.
    /effect give @s minecraft:strength 999999 3
  2. Summon two cows that both have 2 health by using the commands provided below.
    /summon minecraft:cow ~ ~ ~-2.5 {NoAI:1b,Health:2f}
    /summon minecraft:cow ~1 ~ ~-2.5 {NoAI:1b,Health:2f}
  3. Using the netherite sword, hit the cow directly in front of you and take note of how it dies.
  4. Observe how the cow that was damaged by the sweeping attack does not die, despite having a maximum health of 2 and being damaged with a netherite sword under the strength 4 effect.
  5. Take note as to whether or not the sweeping attack applies strength or weakness effects to other mobs.

Observed Behavior:

The sweeping attack doesn't apply strength or weakness effects to other mobs.

Expected Behavior:

The sweeping attack would apply strength and weakness effects to other mobs.

Unresolved

[Mod] Avoma

Elliot Kluken

2019-11-09, 02:02 PM

2024-12-08, 11:43 AM

9

3

Community Consensus

Combat

19w45b - 1.21.419w45b, 1.17.1, 21w39a, 21w40a, 21w43a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w05a, 1.18.2, 22w17a, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 24w18a, 24w20a, 1.21, 1.21.3, 1.21.4

-