This question already has an answer here:
- Mob Arena - Mob vs. Mob 1 answer
So I am trying to make a castle defense map for minecraft 1.13 where you design a wall to keep mobs out. One central method I want to use for the map is to have mobs pathfind to a specific place. For example, if I have several mobs who are attacking, I want them to pathfind towards specific points. I have looked into several unsuccessful methods, which are:
First, I would have two teams that were angry at each other. I believe I thought this would work because of a video by SethBling that I only watched the first couple seconds of. However, after some testing, I concluded that that was not a thing.
Secondly, I tried spawning zombies with a large follow range to pathfind to villagers. To prevent zombies from going to the wrong point I would use the fact that they don't attack villager on their own team. This method would work great if it were not for the fact that each mob can only be on one team.
Finally, and this should work, would be to use the owner idea of snowballs to make mobs attack specific mobs. This should work, however it would be less than ideal.
Is there any more efficient/easier way of doing it, or is Method #3 the only way to do so?