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

`source_entity` doesn't function correctly as advancement trigger condition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w13a
    • None
    • Minecraft's internal Java version, Windows 7 x64
    • Unconfirmed

      If I set up an advancement with the following JSON data:

      {
          "display": {
              "icon": "minecraft:wool",
              "title": "Arrow damage test"
          },
          "parent": "minecraft:testing/root",
          "criteria": {
              "take_arrow_damage": {
                  "trigger": "minecraft:player_damaged",
                  "conditions": {
                      "damage": {
                          "source_entity": {
                              "type": "arrow"
                          }
                      }
                  }
              }
          }
      }
      

      The advancement doesn't seem to trigger, even after taking arrow damage. Changing this to `skeleton` also seems not to work, which makes me think either I'm missing the point or this might be broken.

            Unassigned Unassigned
            CalmBit Ethan Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: