mojira.dev
MC-116478

"item_durability_changed" not triggered by armor durability loss

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.

Comments 1

I can't reproduce, this works fine for me.

Skylinerw

Nathan Adams

Confirmed

advancement, armor, durability, item, trigger

Minecraft 17w16b

Retrieved