Started by
Erikas123
on
Topic category: Help with Minecraft modding (Java Edition)
ok, so the title could be confusing, but i want to make a custom mob ,,Orc,, that automaticly spaws with a hoglin. orc automaticly rides on hog.
is there a way to do that ?
I suggest you to use this page, make an entity ride another entity, get the code and then change the IDs for the IDs of your entities.
https://www.digminecraft.com/generators/summon_mob.php
Then use a procedure to run that command.
I hope I've been clear, I'm not a native English speaker.
The command works, but only spawn the rideable entity, the jockey don´t spawn if not are vanilla mob
Do you know how to set the mod entities in the command?
I need this :c
On entity spawn, check if it is the entity you want ridden, then for whatever percentage you want the entity to spawn ridden by another, set that entity to ride yours. You may need some custom code or some other stuff there to grab the entity you spawned and return the value, but that's the concept.