Vanilla mob avoid

Started by Trehmor on

Topic category: Help with modding (Java Edition)

Last seen on 17:39, 15. Jan 2024
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?

Last seen on 22:49, 17. Mar 2021
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.

Last seen on 05:29, 31. Jan 2022
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.