Started by
GodDoge
on
Topic category: Help with Minecraft modding (Java Edition)
im trying to make a group leader with members following it, but there arent much forums about this, and they're either not answered or are too complicated. i just need something simple to actually achieve this
I'm pretty sure there's a 'follow entities of same type' option in the Mob AI settings, which replicates the behavior used for fish and whatnot. (I have not tried this myself, and cannot guarantee it will suite your purposes.) Otherwise, you could try to manually get them to follow each other using conditions in the Mob AI. Just be aware this behavior is a lot more complicated than it sounds, and hard coding it will almost certainly be more trouble than it's worth, especially as anything to do with overriding pathfinding is a bit of a pain.