Thanks for response. I have added "layer1" which is an animation built from frames to my item model json. But now how to tell Minecraft which animation layer to use depending on ItemStack NBT data, if the tag "color" equals "RED" then use the animation layer with red color etc.?
Btw.
https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe12_item_nbt_animate
Seems interesting