Given the following advancement, placed in world/data/advancements/custom/durability.json:
And the following commands to test it at will:
The advancement will not trigger for items with durability, but will trigger for all items that do not have durability.
Looks like the fix for
MC-116514 just needs a quick NOT operator, nothing major!