mob with lots of knockback?

Started by floofimations on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mob with lots of knockback?

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.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 :)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

 

Joined May 2020
Points:

User statistics:

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

Thank you man these procedures are very confusing to me