Deleting a MC Mob's AI

Started by Oofeiro on

Topic category: Help with modding (Java Edition)

Last seen on 22:28, 26. Aug 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Deleting a MC Mob's AI

Is there a way to delete a Minecraft mob's AI completely so I can define custom behaviors for it? For example, I want to make custom attacks for the Wither Boss, but its code merges with mine and causes some messy attack patterns.

What can I do?

 

 

 

Last seen on 08:55, 21. Jul 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not very knowledgeable…
Sun, 07/21/2024 - 08:09

I am not very knowledgeable about this subject but maybe you can try a mixin that replaces the original ai by running your ai code, then, ends the ai function(s) before the original code. This is only an idea and I am unsure if it is the right way to do it.