mojira.dev
MC-122962

"minecraft.killed:minecraft.player" doesn't increase when killing players

The Bug:

"minecraft.killed:minecraft.player" doesn't increase when killing players.

Steps to Reproduce:

  1. Create a scoreboard objective for tracking when you kill a player and set it to display on the sidebar by using the commands provided below. 

    /scoreboard objectives add KillPlayer minecraft.killed:minecraft.player
    /scoreboard objectives setdisplay sidebar KillPlayer
  2. Kill a player.

  3. Take note as to whether or not "minecraft.killed:minecraft.player" increases when killing players.

Observed Behavior:

"minecraft.killed:minecraft.player" doesn't increase when killing players.

Expected Behavior:

"minecraft.killed:minecraft.player" would increase when killing players.

Linked issues

Attachments

Comments 9

Were you in creative?

Nope, Adventure Mode.

Can confirm for minecraft.killed:minecraft.player, but could not confirm for playerKillCount or minecraft.custom:minecraft.player_kills. Note that they will not increment if you kill yourself (see MC-9089)

Confirmed for 1.13.1.

Can confirm in 20w49a.

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

It should be stated that this bug does not affect singleplayer worlds and LAN servers. (Or, at least, it did not happen when I was working on my datapack)

Same with killed_by.
Confirmed for 1.19.3.

Piyotato

Avoma

(Unassigned)

Confirmed

Statistics

Minecraft 17w49a, Minecraft 17w50a, Minecraft 1.13-pre5, Minecraft 1.13.1, 1.14.4, ..., 1.19.4, 1.20.1, 1.21, 1.21.3, 1.21.4

Retrieved