Topic category: Help with Minecraft modding (Java Edition)
How do I get my mobs riding horses?
The thing is that I already made my custom mobs (they are bipedal so they use the vanilla models), I made that when generated they also generate a horse with its saddle and that it is already tamed, after the ticks that I want, the mob will ride the horse (this was already optional but seemed like a nice touch). the problem is that the mob doesn't control the horse, it doesn't make it move anywhere, and since the horse already has the saddle on, it stays static.
How do I make the entity lead the horse?
(I'm sorry if the text is badly written, I don't speak English and I use the google translator)
And if you could also tell me in which slot the armor is placed on the horse, it would be phenomenal.
There are 2 ways that I know, but neither are great.
1: Change the model to be on a horse, simple but time-consuming.
2: Go into a program called Mcstacker, set up a simple command of a zombie riding a horse, then on the box on the top right corner replace zombie with whatever your custom mobs name is, and save that command. Next, create a mob that doesn't have a texture, and whenever it loads in, it uses the command created in Mcstacker and then dies without dropping anything.
Is there no way to just add the quality of riding to the ai? the only thing missing is that the horse moves as the mob wants
use this command instead where the '[ID_of_your_own_mob]' is to be replaced with well the id of your own mob
take for example I made a mob called Goober and its ID is: goober so teh command becomes
no you dont need it underlined
this one will spawn my custom goober mob riding a chicken if you want a horse instead use this:
There is a procedure block for it, just look, unfortunately I don't have mcreator open right now so I don't know what it's called.