How do I make group entities that follow a leader?

Started by Kalo26 on Thu, 07/07/2022 - 19:08

Topic category: Help with modding (Java Edition)

Last seen on 07:48, 8. Jul 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make group entities that follow a leader?
Thu, 07/07/2022 - 19:10 (edited)

I want to make entities of different types that persecute a common leader and that these do not attack each other (if arrows are shot between them by mistake). like the pillagers although without being aggressive the moment they see me.

the leader wanders and the minions follow him. if someone attacks them, they respond.

another detail is that the entities are different

any ideas? Or is there already that option but I don't see it?

I tried to make the minions the pets of the leader, like the wolves, but I can't do it
(sorry if it's misspelled, I don't know English and I use google translate)

Edited by Kalo26 on Thu, 07/07/2022 - 19:10
Last seen on 03:11, 5. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
like a lamma you mean?
Mon, 07/18/2022 - 14:56

like a lamma you mean?

Last seen on 03:11, 5. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
make a following version ofโ€ฆ
Mon, 07/18/2022 - 14:59

make a following version of the same mob that is the same just will follow [make another one with these properties]

ย 

Now go to the AI and goals section of the normal mob (not the following one)and use the [follow same mobs] block to complete