I'm trying to change the texture of a mob depending on its name using random_entity.
this is what my path looks like - assets\minecraft\optifine\random\entity
the files are located along this path -
in each file -
content properties
skins.2=2
name.2= \u041C\u0435\u0440\u0442\u0432\u0435\u0446
and so on for each mob from each folder (replacing 2 with another number 2-9). And every mob has the same name.
The problem is that the texture is displayed only for zombies, other mobs do not have it, although if you add the health variable, then the texture immediately appears, but not by name. even when I put a different name in the game and in the files (I checked everything, no need to write about it), nothing was set - only for zombies