(Tutorial) How to make mildly janky worm mob

Started by Bring09 on

Topic category: Help with modding (Java Edition)

Last seen on 16:59, 28. May 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Tutorial) How to make mildly janky worm mob
Mon, 04/17/2023 - 00:36 (edited)

(Disclaimer)
This is fairly janky, and not polished, it can't go diagnally without looking a little funny
My model probably had some pivot points that required my weird values
There is almost definitely a better way of doing this, a more talented person could probably figure it out faster and better
Body segments must be cubes

After 4 days, this is what worked for me:

1. Make 2 entities: Worm Head and Worm Body
2. Put this code in a tick update procedure on the worm head

and this code on the body initial spawn procedure

(Set the number in the wait block to something else to make the snake longer or shorter)

3. Disable the collision box of the body segments and make them immune to all damage, unless you can make some code for them to link up their damage with the head damage, then make them have no AI

4. Tweak and adjust values and pivot points until it looks how you want

Here is the procedure for the worm head

Edited by Bring09 on Mon, 04/17/2023 - 00:36
Last seen on 15:05, 24. May 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you please make it more…
Mon, 05/29/2023 - 12:18

can you please make it more quality picture

 

Last seen on 18:52, 25. Aug 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you send the workspace?
Tue, 07/25/2023 - 23:06

Can you send the workspace?

Last seen on 01:34, 31. Jul 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it sucks so I tried to make…
Sun, 07/30/2023 - 09:00

it sucks so I tried to make each part have tags and follow, but the easiest way is to make some particles and generate particles 

Last seen on 07:29, 14. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tell me please what is…
Thu, 04/18/2024 - 10:17

Tell me please what is showed on pictures. Beacuse i cant see anything on it but i need a tutorial. Or send video

Last seen on 07:29, 14. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please send me a link of…
Fri, 04/19/2024 - 08:00

Please send me a link of your images because i cant see it

 

Last seen on 23:14, 12. Jun 2024
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the code that I need…
Thu, 05/23/2024 - 01:57

What is the code that I need to put in body initial spawn procedure?