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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 19w45b, 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
    • None
    • Community Consensus
    • Combat

      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.

        1. MC-165302.mp4
          6.32 MB
          [Mod] Avoma
        2. MC-165302.png
          545 kB
          [Mod] Avoma

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            9 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: