mojira.dev
MC-136795

Killing yourself doesn't trigger entity kill advancements

The bug

The advancement trigger minecraft:player_killed_entity is not triggered if a player kills itself, for instance by hitting themselves by using a bow, a crossbow, or a trident.

To reproduce

  1. Download

[media]
  1. Install the datapack in your world

  2. Run /reload

  3. Kill yourself with a bow
    → ❌ You don't get the advancement

Attachments

Comments 5

I would guess that this is a problem with your datapack, rather than with the main game.

Confirmed in 1.16 Pre-release 8.

Confirmed in 1.16 Pre-release 8.

It seems like this isn’t a problem just for advancement triggers. Also your “players killed”-statistic in the statistic menu and scoreboards with criteria playerKillCount or minecraft.killed:minecraft.player don't increase if you kill yourself.

migrated

(Unassigned)

Confirmed

Advancements

Minecraft 1.13.1, 19w44a, 1.16 Pre-release 8, 1.16.5

Retrieved