mojira.dev
MC-34939

stat.damageDealt not working properly

I'm making an adventure map so whenever you hit a mob, you get points via scoreboard. I set it up using "/scoreboard objectives add ZombieHit stat.damageDealt" & setting the display using "/scoreboard objectives setdisplay sidebar ZombieHit" You gain 1 point every time you hit any mob but you don't get any points when you shoot them with an arrow from a bow. There is no other way to indicate whether you damaged a mob using a bow.

1st Picture: Before I hit the Zombie, score = 0
2nd Picture: When I hit the Zombie with an arrow from the bow, score = 0
3rd Picture: When I hit the Zombie with an iron sword, score = 1

Linked issues

Attachments

Comments 1

Duplicate of MC-29519- If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.

Bryan Raven Fury

(Unassigned)

Unconfirmed

redstone

Minecraft 13w41b

Retrieved