Given the following advancement, placed in world/data/advancements/custom/armor.json
, which triggers any time an item loses durability:
{
"criteria": {
"findme": {
"trigger": "minecraft:item_durability_changed"
}
}
}
And the following commands to test it at will:
/advancement test @p custom:armor
/advancement revoke @p custom:armor
Any items in the armor slots having a change in durability will not trigger the advancement.
I can't reproduce, this works fine for me.