mojira.dev
MC-142723

"minecraft.killed_by:minecraft.<NON_BIOLOGICAL_ENTITY>" doesn't increase when being killed by non-biological entities

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:

  1. 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
  2. Obtain a bow and some arrows.

  3. Set your max health to a value of 1 by using the command provided below.

    /attribute @s minecraft:max_health base set 1
  4. Shoot yourself using the bow and arrow.

  5. 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.
 

Linked issues

Attachments

Comments 5

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.

Can confirm in 20w51a.

Can confirm in 21w05b.

Can confirm in 1.16.5 and 21w10a. Video attached.

Can confirm in 1.17.1. I'd like to request ownership of this ticket since the current reporter has been inactive since January 2019. I'm willing to keep this report updated and provide all of the necessary information.

Victor de Melo

Avoma

(Unassigned)

Confirmed

Platform

Low

Statistics

Minecraft 1.13.2, Minecraft 19w03c, 1.15.2, 20w17a, 20w21a, ..., 1.21.4 Pre-Release 1, 1.21.4, 25w08a, 1.21.5, 1.21.7

Retrieved