How do I make a mob grab an other mob?

Started by PulcioFaLeMod on

Topic category: Help with MCreator software

Last seen on 13:14, 10. Dec 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a mob grab an other mob?

Hi!

I'm working on a mod that adds various invertebrates mobs in the game, such as insects, arachnids, ecc... And actually I'm creating a praying mantis. The fact is I would like to make it able to grab it's enemies, just like in real life. I've seen this thing in many other mods, like Alex's Mobs, Ice and Fire, Blue Skies ecc...

Keep in mind that I don't know coding, so please don't send too complex things 😅

Thank you.

Last seen on 09:33, 25. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I've an idea but I don't…
Fri, 12/09/2022 - 20:25

Hi, I've an idea but I don't know if it will work :

> When your entity attack, add a quick levitation effect to the enemy, than set the enemy position at your entity.