How do I make surrounding animals panic?

Started by Ali107 on

Topic category: Advanced modding

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make surrounding animals panic?

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)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for vanilla animals or…
Sun, 06/05/2022 - 21:21

for vanilla animals or custom animals ???

 

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Both Vanilla and custom.
Mon, 06/06/2022 - 08:54

Both Vanilla and custom.