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

"minecraft.custom:minecraft.damage_dealt" doesn't increase when the sweeping attack damages nearby entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 16w50a, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.13.2, Minecraft 19w08b, Minecraft 19w09a, Minecraft 1.14.3, 1.16.1, 20w30a, 20w46a, 20w51a, 1.16.5, 21w05b, 21w06a, 21w08b, 21w11a, 21w17a, 1.17.1, 21w38a, 1.18.1, 22w05a, 1.18.2, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 23w51b, 1.20.6, 1.21, 1.21.3
    • None
    • Confirmed
    • Player

      The Bug:

      "minecraft.custom:minecraft.damage_dealt" doesn't increase when the sweeping attack damages nearby entities.

      Steps to Reproduce:

      1. Create a scoreboard objective for tracking when you deal damage and set it to display on the sidebar by using the commands provided below.
        /scoreboard objectives add DamageDealt minecraft.custom:minecraft.damage_dealt
        /scoreboard objectives setdisplay sidebar DamageDealt
      2. Summon a cow and obtain a diamond sword.
      3. Use a sweeping attack to damage the cow while using the diamond sword and take note of how the scoreboard increases by a value of 70.
      4. Reset the scoreboard by using the command provided below.
        /scoreboard players reset @s DamageDealt
      5. Summon two cows next to one another by using the commands provided below.
        /summon minecraft:cow ~ ~ ~-2.5 {NoAI:1b}
        /summon minecraft:cow ~1 ~ ~-2.5 {NoAI:1b}
      6. Use a sweeping attack to damage either of the cows while using the diamond sword.
      7. Take note as to whether or not "minecraft.custom:minecraft.damage_dealt" increases when the sweeping attack damages nearby entities.

      Observed Behavior:

      "minecraft.custom:minecraft.damage_dealt" doesn't increase when the sweeping attack damages nearby entities.

      Expected Behavior:

      "minecraft.custom:minecraft.damage_dealt" would increase when the sweeping attack damages nearby entities.

        1. MC-111435.png
          MC-111435.png
          372 kB
        2. MC-111435.mp4
          6.82 MB

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

              Created:
              Updated:
              CHK: