mob with lots of knockback?

Started by floofimations on Fri, 07/17/2020 - 02:38

Topic category: Help with modding (Java Edition)

Last seen on 03:35, 20. Jul 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
mob with lots of knockback?
Fri, 07/17/2020 - 02:38

hello yall, its me again. im trying to make a joke mob that chases you at high speed and launches you in the air when it hits you. though, i cant seem to figure out how to do this. its supposed to be like a way stronger version of the iron golem attack (where it tosses you back a bit). does anyone know how to do this? i think an easier way to explain it is that i need to boost the knockback of my custom mob by quite a lot. any help is appreciated.

Last seen on 13:49, 20. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think I know a way: when…
Wed, 08/05/2020 - 01:00

I think I know a way: when mob hits a mob it effects the mob it hit with levitation  12 for 5 seconds.

I hope that helps :)

Last seen on 16:14, 15. Jun 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
but how though cuz there is…
Wed, 11/11/2020 - 19:10

but how though cuz there is no procedure that says if mob hits something

 

Last seen on 21:10, 18. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What you have to do is…
Wed, 11/11/2020 - 20:45

What you have to do is create a procedure, make it activate when the global trigger "entity is attacked" and run tests checking if the attacker is your mob, and if so, it gives the victim levitation

 

Last seen on 16:14, 15. Jun 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you man these…
Wed, 11/11/2020 - 20:49

Thank you man these procedures are very confusing to me