-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 17w17b, 1.15.2, 20w06a, 20w07a, 20w21a, 1.16 Pre-release 5, 1.16.1, 20w27a, 1.17.1, 23w03a, 1.20.4, 24w09a
-
Confirmed
-
Advancements
-
Low
-
Platform
The bug
The advancement trigger entity_hurt_player is triggered when the player receives non-entity damage (like fire) as well but the trigger entity_killed_player is only triggered if the player is killed by an entity.
Note: If both triggers should trigger for non-entity damage as well it might be good to rename them to something like player_being_hurt and player_being_killed.
How to reproduce
- Download the attached datapack MC-116922.zip and place it in the datapacks directory of your world folder
- Load the world (or if it's already opened run /reload)
- Take fire damage
→ You get the advancement "Taking damage" - Die because of fire damage
→ You do not get the advancement "Being killed"
- is duplicated by
-
MC-259313 Advancement "entity_hurt_player" not working properly
- Resolved