How do I make surrounding animals panic?

Started by Ali107 on Sun, 10/03/2021 - 08:01

Topic category: Advanced modding

Last seen on 22:00, 1. Dec 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make surrounding animals panic?
Sun, 10/03/2021 - 08:01

I want it so that if I hit an animal, all animals of the same type within a range 8 blocks to start panicking with the hurt animal.

 

How do I do that? (I'm okay if it requires writing code)