Entity texture based on entity name!

Like the title suggests I want to change a mob's skin based on its name, and mobs without a name will use the default skin. It must be possible using Entity texture feature (optifine texture parity for fabric). But i have no idea about the folder structure and the files need.

Continue to help post