The advancement trigger item_durability_changed does not trigger when the item is repaired by mending.
Steps to reproduce:
- make a data pack with the advancement file attached (Referring to it as test:mending)
- use/grab an iron pickaxe, see how the advancement is granted.
- revoke the advancement
- enchant the iron pickaxe with mending
- spawn an xp orb
- see the iron durabilty change, but the advancement is not granted.