Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-278365

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.3, 24w46a, 1.21.4 Pre-Release 1
    • None
    • Confirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            GoldSlimeling91 GoldSlimeling91
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: