The mob creation dosn't allow to create complex AIs

Started by dm666 on

Topic category: Advanced modding

Last seen on 10:16, 1. Feb 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The mob creation dosn't allow to create complex AIs

I have an entity and i want to make it go from point A to point B, then change a variable, then come back point A and repeat. The AI mob maker doesn't allow me to do it.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Currently this is only…
Sat, 10/19/2019 - 08:59

Currently this is only possible with custom code.

If you have prior coding experience, you could go to your workspace, drag out the grey bar on the left which contains all the code and take a look at Minecraftsource > entity > ai and get a decent understanding as to how AI works in minecraft. You can then manually add it by going to your mobs code and adding the ai to the task list: 

this.tasks.addTask(indexoftask, new nameofAIAction(yourParams));

Something along those lines.