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

"minecraft.custom:minecraft.damage_dealt" doesn't increase when using projectiles to attack entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 13w36a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 14w17a, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w29b, Minecraft 1.8.3, Minecraft 1.8.9, Minecraft 16w06a, Minecraft 16w07a, Minecraft 1.9, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w22c, Minecraft 1.13.1, Minecraft 1.14.1, 1.15 Pre-release 1, 1.16.1, 20w27a, 20w28a, 1.16.2, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w39a, 21w40a, 21w42a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w03a, 22w05a, 1.18.2 Release Candidate 1, 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, 24w07a
    • None
    • Confirmed
    • Player
    • Normal
    • Platform

      The Bug:

      The "minecraft.custom:minecraft.damage_dealt" scoreboard objective only tracks when the player deals damage to entities by using melee sources and not ranged sources.

      Steps to Reproduce:

      1. Create a scoreboard objective for tracking when the player deals 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. Attack an entity through a melee source of damage and take note of how the scoreboard increases.
      3. Attack an entity through the use of any projectile.
      4. Take note as to whether or not "minecraft.custom:minecraft.damage_dealt" increases when using projectiles to attack entities.

      Observed Behavior:

      The scoreboard doesn't increase.

      Expected Behavior:

      The scoreboard would track damage dealt to entities when using projectiles.

        1. MC-29519.mp4
          6.44 MB
        2. MC-29519.png
          MC-29519.png
          951 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            61 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              CHK: