Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-142723

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.2, Minecraft 19w03c, 1.15.2, 20w17a, 20w21a, 20w51a, 1.16.5, 21w10a, 1.17.1, 21w38a, 1.18 Pre-release 1, 1.18.1, 22w05a, 1.18.2, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 23w51b
    • None
    • Confirmed
    • Statistics
    • Low
    • Platform

      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

      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:generic.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.
       

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            13 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: