-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.12 Pre-Release 5, 20w07a, 1.16.1, 1.16.4, 21w11a, 1.17.1, 1.20 Pre-release 1, 1.20 Pre-release 6, 1.20.4, 24w03b
-
Confirmed
-
Advancements, Data Packs, Entities
-
Low
-
Platform
The bug
The name of the advancement trigger player_hurt_entity suggests that it is triggered when the player damages any entity. Instead it is only triggered when the player hurts a mob.
How to reproduce
- Download the attached datapack MC-117824.zip and place it in the datapacks folder of your world
- Load the world
- Hit for example an armor stand or a boat
The advancement is not made - Hit for example a pig
The advancement is made
- is duplicated by
-
MC-197679 Advancements can't detect end_crystal kill or injure
- Resolved
-
MC-220747 Advancement criterias "minecraft:player_hurt_entity" and "minecraft:player_killed_entity" do not work with item frame and glow item frame predicates
- Resolved
-
MC-233858 End Crystals don't work with advancement criterias such as "player_hurt_entity", "player_killed_entity" (etc.)
- Resolved
-
MC-262511 player_hurt_entity advancement trigger doesn't work when hitting armor stands
- Resolved