I tried to reacreate an old map of mine that utilised the old damgeDealt scoreboard. I've seen it's been replaced with minecraft.custom:minecraft.damage_dealt but it doesn't register arrow damage. Even in the statistics you can't see damage you've dealt with bow or arrows and it doesnt add to your total damage count. It's the same for potions, fireworks and tipped arrows. I dont think this works as intended.
Linked issues
Comments 6
Can confirm in 21w06a. Here are some steps to reproduce this issue:
Steps to Reproduce:
Run the following commands:
/scoreboard objectives add damage minecraft.custom:minecraft.damage_dealt
/scoreboard objectives setdisplay sidebar damage
Attack a mob using a bow.
Attack a mob using a crossbow.
Attack a mob using a potion.
→ ❌ Notice how upon doing all of these things, the scoreboard does not increase.
Duplicate of MC-29519
This bug still persists in Minecraft 1.16.1. It's really odd, because if you use the minecraft.custom:minecraft.damage_dealt_resisted criteria, and give a mob a resistance status effect, then this will actually track the damage dealt to the mob that was resisted by the effect if you shoot it with a bow.