Clear all items except with mending
Hello guys, in another post i asked something similiar.
I have this command:
/clear @s *[!minecraft:enchantments~[{"minecraft:mending":1}]]but in reality it clears all items except enchanted ones, but enchanted with any enchantment, Infinity, Power, Unbreaking, etc...
Am I missing something?