The Bug:
"minecraft.killed:minecraft.<ENTITY>" sometimes doesn't increase when entities are killed by the effects of tipped arrows.
Please note that this issue cannot be reproduced all of the time. Occasionally, scoreboards will track entities that are killed by the effects of tipped arrows, and other times they won't.
Steps to Reproduce:
Create a scoreboard objective for tracking when you kill a vindicator and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add KillVindicator minecraft.killed:minecraft.vindicator
/scoreboard objectives setdisplay sidebar KillVindicator
Obtain a bow, some regular arrows, and summon a vindicator.
Kill the vindicator using your bow and arrows and take note of how the scoreboard increases.
Obtain some arrows of harming, summon another vindicator, and kill the vindicator using these arrows.
Take note as to whether or not "minecraft.killed:minecraft.<ENTITY>" sometimes doesn't increase when entities are killed by the effects of tipped arrows.
Observed Behavior:
"minecraft.killed:minecraft.<ENTITY>" sometimes doesn't increase when entities are killed by the effects of tipped arrows.
Expected Behavior:
"minecraft.killed:minecraft.<ENTITY>" would always increase when entities are killed by the effects of tipped arrows.
Linked issues
is duplicated by 1
Attachments
Comments 10
I've just checked and it does update, but for normal arrows only. It doesn't work when shooting tipped arrows though
Interesting, yeah, I did some testing myself and can confirm that a mob doesn't count as killed by the player if it is killed by the effect of the tipped arrow that the player shot at it. Very interesting.
This doesn't only affect scoreboards, but also the statistics in the Statistics
screen.
I updated the report a bit to reflect the new findings a bit better.
Cannot reproduce. The scoreboard value is increased upon killing the respective mob with a crossbow.