Custom Item Potion Tints

I have made 3d models for custom potoions that use "tintindex" to get the potion tint on a overlay texture, but when I try to do it for 2d items I run into some issues

Continue to help post