Help for a "Worm" mob (multiple ennemies following each other)

Started by VioletPyre on

Topic category: Help with modding (Java Edition)

Last seen on 01:56, 16. Jan 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help for a "Worm" mob (multiple ennemies following each other)

Hello ! I was wondering how could i make my mob work successfully. Here's how it was supposed to work :

First, there's its head, the first "mob" in front, after there's supposed to be a "worm body" ennemy that follows it in its back and same for other body parts following each other. 

It would look like |
                           V
[Head] [body] [body] [body] [body] [body] [body] [tail]

But i think i either need to code to do it (which i don't know how to) or it is just impossible. i know there's [Follow same mobs radius : [] [...]] but, again, it's "same" mob so the body parts would follow and probably be in a crowd or something. Thanks for understanding, if not, let me know.

Thanks in advance.

Last seen on 14:09, 24. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im not a expert but i think…
Mon, 05/04/2020 - 19:36

im not a expert but i think you shoul do something with a function with /tp, to teleport each mob behind the other that is behind another mob.

Last seen on 01:56, 16. Jan 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah..it could work, but…
Mon, 05/04/2020 - 20:15

yeah..it could work, but when it chases you, it'll look like a stick of cubic spheres running after you. If i had the 1.13 /tp ^ ^ ^ thing it would have worked because it's based on where you look. Since 1.12 doesn't have that, it left me with no idea, but if i could detect the direction where it goes i could use /tp. Thanks tho ;)

Last seen on 09:49, 22. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make different segment mobs…
Sun, 05/31/2020 - 20:01

Make different segment mobs and to each other with tp @e[r=1] @e[type=modname:entityname] 

I think this is the command