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

Advancement trigger player_hurt_entity is only triggered for mobs

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      The name of the advancement trigger player_hurt_entity suggests that it is triggered when the player damages any entity. Instead it is only triggered when the player hurts a mob.

      How to reproduce

      1. Download the attached advancement entity_hurt.json and place it in the following directory of your world folder
        data\advancements\custom
        
      2. Load the world
      3. Hit for example an armor stand or a boat
        → The advancement is not made
      4. Hit for example a pig
        → The advancement is made

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                CHK: