How do you make mobs follow each other in a trail?

How do you make mobs follow each other in a trail? - Side view glad young female florists wearing aprons arranging delicate flowers and looking at each other contentedly while working together in light floral store

I am trying to make a new mob for part of a big project but the problem is that I can't figure out how to make mobs follow eachother... I was going to make it so that I have 3 zombies... Ones the lead and another is following behind... The third zombie will be following that one... Is this even possible? Help would be really appreciated



Best Answer

You could use a similar method to what SethBling used in this video – get each zombie to start tracking a villager (by allowing each zombie to hit its own villager once), then teleport each zombie's villager to (slightly above or below) where you want it to pathfind to (e.g. above the next zombie in the line).




Pictures about "How do you make mobs follow each other in a trail?"

How do you make mobs follow each other in a trail? - Father and Son in Home Interior Looking at Each Other with Happiness 
How do you make mobs follow each other in a trail? - Women Having Fun Hiking in a Forest
How do you make mobs follow each other in a trail? - Free stock photo of adult, africa, business



How do you get mobs to follow a certain path?

The follow command would make a mob follow another mob. It would work like this" /follow @e [type = (entetity) ] @e [ type = (entity ) ".

How do you make mobs target each other?

Mobs that are considered to be "Natural Enemies" in Minecraft
  • Guardians and elder guardians attack squids.
  • Polar bears attack foxes.
  • Llamas spit on and attack wolves.
  • Wolves will attack skeletons, skeleton horsemen, foxes, sheep, spider jockeys and wither skeletons without any input from the player.




How to make a mob follow a path in Minecraft Bedrock Edition! || Anni Boy




More answers regarding how do you make mobs follow each other in a trail?

Answer 2

Now, I didn't test this, but you could make it so each zombie, every few ticks, summons a witherSkull entity that gets added a point on a scoreboard objective every tick, and when the skull has a few points, the next zombie in line is teleported to it, then after the points is twice the amount when the first zombie is teleported, then the next one gets teleported, and then the skull entity is killed. Hope this works!

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Amina Filkins, Ron Lach, PNW Production, RODNAE Productions