How can i make a mob jump when it sets its attack target randomly?

Started by kayleb10 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a mob jump when it sets its attack target randomly?

I want to make a horror mod that has a mob that can break blocks, jump randomly, and particles when jumping randomly. is there a way to make my mob (MX MARIO) to jump randomly?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does Any one Know?  
Fri, 03/04/2022 - 21:55

Does Any one Know?

 

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im not a professional, but I…
Fri, 03/04/2022 - 23:37

Im not a professional, but I know this much. To make the mob jump you can use the procedure block "attempt to override motion vector of event/target entity" and set the vy: to velocity of event/target entity +1, to make him jump around a block high. As to making it random, you will have to set a randomizer variable. i havent done this yet, but im sure you can find it. 

Sorry i couldnt be much help, but Good Luck!

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its ok but thanks!  
Fri, 03/04/2022 - 23:39

Its ok but thanks!