Changing vanilla mobs attitude towards a player

Started by xerrio on

Topic category: Help with MCreator software

Last seen on 03:09, 20. Sep 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing vanilla mobs attitude towards a player
Tue, 09/10/2019 - 14:23 (edited)

Hello!

 

I am new to MCreator and I was wondering how to get the event when an entity is trying to target a player and how to cancel it. I do this to modify hostile mobs aggressiveness depending on surrounding blocks in an area.

 

I also try to change vanilla mobs spawning rate depending on the same block existence in the area.

Of course this block comes from another mod so I also have to detect the presence of this mod to load my own mod and to use a block that is not vanilla.

I could take this second part from the other side and say that a block in particular is increasing hostile mobs by X% in an area arround them.

 

Thank you for your time!

-x

Edited by xerrio on Tue, 09/10/2019 - 14:23
Last seen on 03:09, 20. Sep 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not creating a mob.
Tue, 09/10/2019 - 17:10

I am not creating a mob.