How do I make surrounding animals panic?

Started by Ali107 on

Topic category: Advanced modding

Active 1 hour ago
Joined Jul 2020
Points:
1235

User statistics:

  • Modifications: 5
  • Forum topics: 90
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 233
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)

Active 1 hour ago
Joined Jul 2020
Points:
1235

User statistics:

  • Modifications: 5
  • Forum topics: 90
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 233
Bump
Mon, 05/23/2022 - 06:05

Bump

Active 1 year ago
Joined May 2022
Points:
431

User statistics:

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

for vanilla animals or custom animals ???

 

Active 1 hour ago
Joined Jul 2020
Points:
1235

User statistics:

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

Both Vanilla and custom.