3

How to make a mob variant without optifine?

EKraft3/18/25 10:09 am
3/19/2025 1:03 am
EKraft
Heyy guys, i am working on this datapack and in that i want to add a horse variant which spawns under some specific conditions. but before all that i want a way to summon the new horse. many people use optifine and a custom name but i dont want to use that yet cause i dont want the people downloading this mod to necessarily have optifine too(ik many people use it but i want the datapack to be independent)
I have been searching everywhere and can't find anything useful
I would have used custom model data but turns out its not for entities and only for items and blocks
please suggest some ideas
Posted by
EKraft
Level 56 : Grandmaster Modder Musician
59

Create an account or sign in to comment.

7

ScotsMiser
03/18/2025 6:20 pm
Level 60 : High Grandmaster Miner
There are other ways to do this than optifine (search Custom Entity Model), but they all [AFAIK] work similarly to optifine.

I looked into this for my own reasons not to long ago and came to the same conclusion Cornbread_Alphanumeric has: to do this by adding something independent to vanilla would require a mod rather than a datapack.
2
EKraft
03/19/2025 1:03 am
Level 56 : Grandmaster Modder Musician
yeah, i have been searcching around, looks like optifine/random is the best way
thankss
2
Cornbread_Alphanumeric
03/18/2025 10:37 am
She/They • Level 47 : Master Miner uwu
from what i can tell, java edition does not yet allow for data-driven horse variants. you'd probably have to use a mod and not a data pack.
4
EKraft
03/19/2025 1:03 am
Level 56 : Grandmaster Modder Musician
thank youu
1
EKraft
03/18/2025 11:04 am
Level 56 : Grandmaster Modder Musician
but even if i use a mod, i will have to make a horse and code it fully.
Is there any sort of tag or NBT data which can change a texture 😭😮‍💨
2
Cornbread_Alphanumeric
03/18/2025 9:33 pm
She/They • Level 47 : Master Miner uwu
this section on the wiki page lists all the data that horses store.

also, i just remembered that armor texture file paths are data driven now, so, theoretically, you could give the horse a specific item to wear that has a special equipment file and texture it so it appears to be the horse itself. though, that might be kinda jank.
2
EKraft
03/19/2025 1:02 am
Level 56 : Grandmaster Modder Musician
yeah this idea also crossed my mind, but then once the player tames the horse, they can see that there is a skin item in the armor slot or saddle slot, kinda weird lol 😂
1

Welcome