Mojira Archive
MC-278365

player_hurt_entity advancement trigger doesn't trigger when trying to attack naturally spawned creakings

Advancements using the player_hurt_entity trigger do not trigger when the entity being attacked is a Creaking linked to a Creaking Heart.

This applies to a few advancements already in the game, such as "Take Aim" (reported as MC-277104) and "A Throwaway Joke" (reported as MC-277687), MC-277687 was marked as "Works as Intended" while MC-277104 remains unresolved.

How to reproduce:

To demonstrate that this issue affects any advancements using the player_hurt_entity trigger, a data pack that adds a custom one (MC-278365.zip) has been attached to this issue.

  1. Create a world with the attached data pack.
  2. Summon a creaking with a creaking heart.
  3. Attack the creaking with your fist, a sword, a bow, or any projectile.

Expected result:

The advancements trigger accordingly and are granted to the player.

Observed result:

The advancements do not trigger at all.

Works As Intended

GoldSlimeling91

2024-11-16, 10:27 PM

2024-12-20, 08:10 AM

2024-12-20, 08:10 AM

2

1

Confirmed

(Unassigned)

1.21.3, 24w46a, 1.21.4 Pre-Release 1, 1.21.4

-