Started by
Trehmor
on
Topic category: Help with Minecraft modding (Java Edition)
There is any way to make a vanilla mob avoid a mob from my mob? If it is by coding, Can someone help me?
Topic category: Help with Minecraft modding (Java Edition)
There is any way to make a vanilla mob avoid a mob from my mob? If it is by coding, Can someone help me?
I don't think you can with MCreator (even with coding, it's a matter of what elements MCreator is able to affect). However, you could have your custom mob avoid the other mob, and it would achive a similar effect.
with coding, you can hook LivingUpdateEvent to check if your AI task has been added, and if not, add it to the entity's AI tasks.