texture for durability and protection

I'm creating a texture that can combine the armor durability 100%/50%/25%/10% and the protection level 1/2/3/4 so I think I have to create it with item generator but the problem is that they conflict and I can't put the damage and the enchantments in the same item component

Continue to help post