r/fabricmc • u/Ruby_Bloop • 9d ago
Need Help Entity Model Features issue
Hello, there is this resource pack called Acidul’s Wolves, and it gives the wolves new models and textures. Most of the wolf variants use the same model, but 3 of them use models that are a different size and shape and only spawn in specific biomes using a .properties file.
When you spawn the wolf in the jungle it works fine, but when you take the wolf into another biome and reload the pack EMF reloads the wolf model to the one that isn’t for a specific biome and it tries to fit the smaller jungle texture over the larger model, so it looks broken.
Are there any ways I can stop this from happening? ;-;
1
u/Available-Squash1021 7d ago
EMF (and OptiFine CEM) re-checks the rule conditions when the pack reloads, and biomes is the biome the wolf is in now, not the one it spawned in. So a jungle-only model gets dropped the moment you reload after leaving the jungle, and the default model plus the jungle texture get mixed, which matches what you're seeing.
To make a special model stick to that wolf, the properties file has to key off something that travels with the mob. In 1.20.5+ that's usually the wolf's variant NBT; a custom name or other persistent NBT also works. Biome rules can only control how it looks while it stays in that biome.
If Acidul's Wolves only ships biome rules for those 3 variants, this probably needs a pack edit or a note to the author. There isn't a client setting that freezes the spawn-biome model across a reload.