Started by
dm666
on
Topic category: Advanced modding
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.
Topic category: Advanced modding
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.
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.