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

score.teamkill counts when a mob is killed by a player

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 17w46a, 1.15.1, 21w03a, 1.16.5, 21w05b, 21w08b
    • None
    • Confirmed
    • (Unassigned)

      When a mob is added to a Team and the team has a color, the scoreboard teamkill works when a player kill the mob.
      Maybe this intended, but this don't have sense if this bug is marked intended: MC-88743
      In this bug mobs don't increases the score by killing a player.
      Mobs should not interact with any type of scoreboard according to the previous bug.

      How to reproduce

      /team add test
      /team modify test color blue
      /summon minecraft:creeper
      /team join test @e[type=minecraft:creeper]
      /scoreboard objectives add teamkill teamkill.blue
      /scoreboard objectives setdisplay sidebar teamkill
      

      Kill the creeper
      -> The scorebord does increase, contradicting WAI of MC-88743 / MC-46956

            Unassigned Unassigned
            Autopoietico Autopoietico
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: