The Bug:
"minecraft.killed_by:minecraft.<NON_BIOLOGICAL_ENTITY>" doesn't increase when being killed by non-biological entities.
Here is a table of all scoreboard objectives affected by this issue.
Scoreboard Objective |
---|
minecraft.killed_by:minecraft.area_effect_cloud |
minecraft.killed_by:minecraft.arrow |
minecraft.killed_by:minecraft.end_crystal |
minecraft.killed_by:minecraft.evoker_fangs |
minecraft.killed_by:minecraft.falling_block |
minecraft.killed_by:minecraft.fireball |
minecraft.killed_by:minecraft.lightning_bolt |
minecraft.killed_by:minecraft.llama_spit |
minecraft.killed_by:minecraft.potion |
minecraft.killed_by:minecraft.shulker_bullet |
minecraft.killed_by:minecraft.small_fireball |
minecraft.killed_by:minecraft.spectral_arrow |
minecraft.killed_by:minecraft.tnt |
minecraft.killed_by:minecraft.tnt_minecart |
minecraft.killed_by:minecraft.trident |
minecraft.killed_by:minecraft.wither_skull |
h3. Steps to Reproduce:
Create a scoreboard objective for tracking when you you get killed by an arrow and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add KilledByArrow minecraft.killed_by:minecraft.arrow
/scoreboard objectives setdisplay sidebar KilledByArrow
Obtain a bow and some arrows.
Set your max health to a value of 1 by using the command provided below.
/attribute @s minecraft:max_health base set 1
Shoot yourself using the bow and arrow.
Take note as to whether or not "minecraft.killed_by:minecraft.<NON_BIOLOGICAL_ENTITY>" increases when being killed by non-biological entities.
Observed Behavior:
"minecraft.killed_by:minecraft.<NON_BIOLOGICAL_ENTITY>" doesn't increase when being killed by non-biological entities.
Expected Behavior:
"minecraft.killed_by:minecraft.<NON_BIOLOGICAL_ENTITY>" would increase when being killed by non-biological entities.
I made the report a little bit more generic because it appears that not only arrows are affected. I hope you are fine with that.