Panic Mobs when explosion occur. (Help pls)

Started by Ali107 on

Topic category: Advanced modding

Active 3 days ago
Joined Jul 2020
Points:
1185

User statistics:

  • Modifications: 5
  • Forum topics: 84
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 229
Panic Mobs when explosion occur. (Help pls)

How do I make to so that ALL vanilla and custom animals panic whenever there is an explosion, or a gunshot, or a lightning strike?

 

I really need this to make my mod feel more realistic.

Active 3 days ago
Joined Jul 2020
Points:
1185

User statistics:

  • Modifications: 5
  • Forum topics: 84
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 229
I'm okay with you guys…
Sun, 11/14/2021 - 08:20

I'm okay with you guys giving custom code, but you need to explain how to implement the code into mcreator.