-
Bug
-
Resolution: Duplicate
-
None
-
23w03a
-
None
-
Unconfirmed
-
(Unassigned)
Create an advancement (ex: minecraft:entity_hurt_player):
{ "criteria": { "requirement": { "trigger": "minecraft:entity_hurt_player" } }, "rewards": { "function": "minecraft:entity_hurt_player" } }
Create a function (ex: minecraft:entity_hurt_player):
say Entity Hurt Player advancement revoke @s only minecraft:entity_hurt_player
Now, if you take damage from something other than an entity like a cactus, the advancement will trigger and activate the function...
- duplicates
-
MC-116922 entity_hurt_player advancement trigger is triggered for non-entity damage but entity_killed_player is not
- Open