Entity attacks mobs of same type

Started by Libroru on

Topic category: Help with modding (Java Edition)

Last seen on 07:09, 24. Sep 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity attacks mobs of same type

I want to create a mob that attacks other monsters, but if I set the attack type to Entity Mob, it attacks mobs of the same type aswell.

I tried to use conditions, so that it checks if the mob attacking is the same type and if so, cancel the attack.

https://i.imgur.com/v81YAX4.png

https://i.imgur.com/hFBj5Ge.png

 

It sometimes also doesn't attack at all.