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

Scoreboard object criteria minecraft.killed_by:<entity> does not work for some entities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13.2, Minecraft 19w03c, 1.15.2, 20w17a, 20w21a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      The scoreboard objective criteria minecraft.killed_by does not work for some entities, mainly not for certain non-mob entities where you would expect it to work.

      Affected entities

      Possibly all non-mobs

      • arrow
      • tnt
      • tnt_minecart

      How to reproduce

      1. Create the objective
        /scoreboard objectives add killedByArrow minecraft.killed_by:minecraft.arrow
        
      2. Display it on the sidebar and set an initial value
        /scoreboard objectives setdisplay sidebar killedByArrow
        /scoreboard players set @s killedByArrow 0
        
      3. Get killed by an arrow (fired by dispenser, skeleton or yourself)
        The score does not increase

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Lago_Roxo Victor de Melo
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: