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

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

  • Can monsters naturally spawn on blocks covered by pressure plate?
  • What's the easiest or quickest way to build bases under water?
  • How do you allocate more RAM to Minecraft?
  • How to tell when a player isn't moving?
  • What can I do to secure my towns/castles/hovels from climbing spiders?
  • What are these red lasers?
  • How to make a safe in vanilla Minecraft that locks and unlocks with a key?
  • No hostile mobs spawning in minecraft
  • What is (or rather, was) Herobrine?
  • What blocks can Endermen pick up and what blocks they can't?
  • Is this Fireplace Safe?
  • Can't use my sprint key and jump at the same time
  • 2 Solutions collect form web for “How do you make mobs follow each other in a trail?”

    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).

    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!

    We love Playing Games, especially Video Games.