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

Exploding beds and respawn anchors don't trigger the player_hurt_entity advancement criteria

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.14.4, 19w44a, 19w45a, 19w45b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w11a, 20w13a, 20w14a, 20w15a, 20w16a, 20w19a, 20w20a, 20w28a, 1.16.2, 1.16.3
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Advancements

      Description

      The Bug

      Although an unconventional weapon, beds and respawn anchors can be used to hurt and kill entities like any other weapon, but yet they've been forgotten about in the advancement code. Using a bed or respawn anchor does not trigger the advancement criteria player_hurt_entity.

      How to Reproduce

      I've attached a simple datapack with three advancements: One with a tick criteria telling you you've successfully downloaded the datapack and it's working. Another just with a player_hurt_entity trigger without any conditions, and lastly one that's the same except it has an is_explosion condition.

      You'll find that hurting entities using exploding beds and respawn anchors doesn't even trigger the second advancement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              paint Paint
              Votes:
              6 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: