Started by
DoctorHyena
on
Topic category: Help with Minecraft modding (Java Edition)
Pretty self-explanatory but basically I want to know what condition I'd set up to make it to where my hyena attacks everything except for other hyenas.
Maybe something like If:not hyena then return true
Can you send a screenshot example?
You can't do this with Mcreator in a fast way (without coding)
You have 2 solutions only:
1) you select in AI every single line for mob he must attack
2) You use trigger entity attacked and cancel trigger but this way your hyaenas will stay one near the other looking at each other
Well, I wouldn't mind using a code snippet if anyone has time to send one. That'd probably be the best way to do it.
Hey author even if I may be 2 years late I actually had the same problem but I was able to find out how to fix this I hope this helps you or anyone else who had this problem. https://ibb.co/RCjsRRG
Btw you can use tags in order to use this for many entities, (like if you want zombies, husks, skeletons etc.. to not attack each other) or a subtype for a specific entity (so only zombies don't attack each other)