Started by
BlackLight079
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make mobs that attack everything except mobs of their kind.
Here i'm using the 'Attack entities of type ... ' task and 'Mob entity' as the mob type, but that just makes them attack everything including themselves.
Is there a way in Mcreator to create a new mob type or any other way to solve this problem?
Add a condition (After the mob entity). Here is a link to the tutorial about it.
I can't find one so here is mine.
Create a new procedure. In it when you want the mob to attack that mob, put return true. If not, return false. You can add the if conditions. Select the procedure in the ai goals block.