TAfter some more testing and hours wasted i now know why no texturepack uses CIT. It doesnt work in any way thats useful in any form. At least if you wanna do anything more involved than stackcount or durability or display name.
enchantmentIDs matches to any enchantments in the list, rather than requiring all of them to be present on the item.
enchantmentLevels matches to any enchantment, as long it has the level specified.
Neither have any correlation to each other. And that means whatever i do, i cannot do exact matching for the item i want the texture to apply to. Just very broad and unspecific ranges of items, as example:
enchantmentID=sharpness, fire aspect enchantmentLevel=2
this will match to any item that has either sharpness or fire aspect and one enchantment at level 1 (no matter which). I cannot specify the texture to apply to swords having sharpness 1 and fire aspect 1.
For a quick fix id suggest this:
enchantmentID requires all listed enchantments to be present.
enchantmentLevel tallies up all enchantments on the sword and matches to that value.
That would make CIT only barely functional though, using something like:
and matching to that exactly would actually make this useful. If a range of IDs or levels would be wanted you could use wildcards.
I look forward to my suggestion being ignored,