#Custom texture with named mobs

17 messages · Page 1 of 1 (latest)

mystic knot
#

I am having some difficulty getting named cats to have a custom texture with ETF on NeoForge 1.21.1.

assets\minecraft\textures\entity\cat\cat.properties:

textures.2=test.png
name.2=Test

I tried using an index of 1 instead of 2.
I tried using the full path for the texture, as it is below.
I tried replacing name with names.
I tried naming the .properties file as one of the cat variants, for example persian.properties.

The texture is at assets\minecraft\textures\entity\cat\test.png

None of the above attempts have caused my test.png texture to be used.

hollow ibex
#

You cannot do it via the . properties.
Texture.2=2

And the correspondinbg texture would be in the car folder. Named cat2
(I can't remember if cats have différents name for their colors in vanilla)

#

To change the texture name you have to override the texture in the model itself

mystic knot
#

Hm, okay. I haven't seen anything about that anywhere. Is there an example I can look at?

hollow ibex
#

the villager.jem has the texture overide (on top of the file)

#

you can put (your texture where you want)

#

in this example it is called villager.png, but it can be what you want too

#

and apply a filename.propertie at this location


#

BUT! I am at the computer now. if you want just a custom texture for a name persian cat, you put a persian.properties in the cat texture folder.
In this file you write

name.2=Test```
And you have a persian2.png in the cat texture folder
#

this one is the easy way :p

mystic knot
#

is there a way to do it for all variants in one go or do i have to manually add it for each

hollow ibex
#

with the model texture overide you can do all of them at once

#

(I believe)

#

if you do the model variation base on the name.

#

Put a .propertie in the assets\minecraft\optifine\cem folder
In it you put
models.2=2 name.2=Test
and you put a cat2.jem in it too

#

this cat2.jem will have the texture override to your texture.