Mojira Archive
MC-115149

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

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.

Duplicate

Ethan Brooks

2017-03-31, 04:57 PM

2017-03-31, 07:18 PM

2017-03-31, 05:38 PM

0

0

Unconfirmed

Minecraft 17w13a

-