Worm entity with segments?

Started by SleepyWhirl on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Worm entity with segments?

heya there,

ive been looking for quite a while to find a way to make a worm like entity and havent found any sort of way to do it properly and wanted to ask for help.
what i had in mind was this:

- a "head" entity that is basically the main part of the full entity that steers it self around, performing tasks, etc. thats simple enough
- "body" entitys that follow each other and the main head one by one to create a neat link, giving the impression of a "minecrafty" worm/snake
- bonus: if a segment gets killed that isnt the head the worm will basically grow a new one out of another segment to make another worm aka. splitting

thats basically it! now here comes the hard part, the questions of how i could achive this. the main question would be how the segments could work to follow each other around in
a line, how would i need to set up procedures to make them do just that? i would appreciate any help i can get

thank you!

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to make each…
Wed, 06/28/2023 - 03:15

You need to make each segment in a bone (folder) with all the blocks, this will make it so if each segment has more than one block it will work.  (e.g.)

- Segment one - you can put this in a bone called body if you have other stuff, like arms.

- Segment two - this would be put in segment one with the segment one blocks

- Segment three - this would be put in segment two with the segment two blocks

if you want to add more just add segments and put them into the segment before them, this will work infinitely

so you will end up with segment one being the first segment, then segment two would be put into it so when segment one moves, segment two will move and etc.

I know this mostly works for 1.16.5 and down, but I think Mojang changed something with the ways models work, so later versions might not work  ¯\_(ツ)_/¯