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

Warden's Sonic Boom attack does not trigger entity_hurt_player advancement trigger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 22w17a, 22w18a
    • None
    • Unconfirmed
    • (Unassigned)

      The Bug:

      The entity_hurt_player advancement trigger does not trigger when a Warden damages a player using its Sonic Boom attack.

      Steps to Reproduce:

      1) Add the attached datapack to your world.

      2) Go in survival mode (recommend to use resistance effect for this and clearing the darkness effect with a repeating command block)

      3) Summon a warden

      4) Have it attack you with a melee attack. 

      Watch as the say command in chat works perfectly fine, because melee attacks register correctly towards the entity_hurt_player trigger. The advancement is revoked after the say command, so the say command will work for every single melee attack.

      5) Pillar up a few blocks so the warden can't reach you with a melee attack and is forced to attack you with a sonic boom. 

      Watch as the say command in chat does not work at all - because the entity_hurt_player trigger doesn't trigger from sonic boom anymore after 22w17a.

      Observed Behavior:

       

      The entity_hurt_player advancement trigger does not trigger when the Warden damages players using the Sonic Boom attack.

      Expected Behavior:

      The entity_hurt_player advancement trigger should trigger when the Warden damages a player using the Sonic Boom attack.

            Unassigned Unassigned
            snaplingdd Snap Doomy
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: