Topic category: Help with Minecraft modding (Java Edition)
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.
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.
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 ;)
Make different segment mobs and to each other with tp @e[r=1] @e[type=modname:entityname]
I think this is the command