Vanilla mob avoid

Started by Trehmor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Vanilla mob avoid

There is any way to make a vanilla mob avoid a mob from my mob? If it is by coding, Can someone help me?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you can with…
Sun, 09/13/2020 - 21:25

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.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
with coding, you can hook…
Mon, 09/14/2020 - 01:27

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.