sp614x / optifine

1.77k stars 420 forks source link

[CEM/RandomMobs] My spider2.jem only uses texture2.png #7559

Closed MushirMickeyJoe closed 9 months ago

MushirMickeyJoe commented 9 months ago

my files.zip

Pack ^

OF version: 1.20.1-OptiFine_HD_U_15_pre6

I have a model for spiders in deserts looking like scorpion using CEM, and I wanted to apply a few random variants for it, but for some reason the game sticks exclusively to scorpion2.png, and never shows me the first texture. Including a properties file in optifine/random/entity does not fix this behaviour.

image just the second variant

image The main texture, "scorpion.png" - referenced in my spider2.jem - never shows up, regardless of a .properties file.

MushirMickeyJoe commented 9 months ago

Ewan Howell said the following and he's right:

the fix is to set some weights where they are not equal at spawning models.1=1 2 weights.1=50 49 works for example reason why it seems to not work:

your model randomisations are PERFECTLY lining up with your texture randomisations when it should be spawning as scorpion1, it is instead spawning as a spider

my b