Started by
icantlogin
on
Topic category: Help with Minecraft modding (Java Edition)
I simply want an aggressive mob that attacks friendly creatures. But when I use "attack entities of type 'Creature entity" it also attacks its own species even if it's a mob. How can I fix this so it attacks every friendly creature except itself?
You can't unless you select in AI each single creature he must attack and not only "creature"
That's the best solution otherwise you can use trigger entity attacked and if same type then cancel trigger but in this case they will stand still looking at each other
I used animal entities instead and now it works actually.
Now it attacks only animals as per what you say....so if you have a pacific creature which is not animal it will not attack it