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

entity_hurt_player advancement trigger is triggered for non-entity damage but entity_killed_player is not

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      The advancement trigger entity_hurt_player is triggered when the player receives non-entity damage (like fire) as well but the trigger entity_killed_player is only triggered if the player is killed by an entity.

      Note: If both triggers should trigger for non-entity damage as well it might be good to rename them to something like player_being_hurt and player_being_killed.

      How to reproduce

      1. Download the attached advancements player_hurt.json and player_killed.json and place them in the following directory of your world folder
        data\advancements\custom
        
      2. Load the world
      3. Take fire damage
        → You get the advancement "Taking damage"
      4. Die because of fire damage
        → You do not get the advancement "Being killed"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: