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
- Download suicide_advancement_test.zip

- Install the datapack in your world
- Run /reload
- Kill yourself with a bow
→
You don't get the advancement