Solved Custom mob AI?

Discussion in 'Plugin Development' started by johnny boy, Feb 16, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    johnny boy

    I want to make an entity AI, as I feel I know a little bit more java now. I have learned the "basics" and I am ready to take on something more challenging. How would I even start is the question I'm trying to say. I don't like tutorials made by people on the internet because they go really fast. I don't have a nimble mind. Anyway, some help would be appreciated.
     
  2. Offline

    MrGeneralQ

    it actually deppends. You can use entity.setAI(true/false) but if you want to make things like npc's and stuff then you have to start using something called "NMS" . This is actually very complicated and keep in your mind that as soon as you implement nms to any of your plugins, that you will have to keep updating that plugin since NMS code changes like every single update. A future update might break your plugin.

    I personly do not recommend but if that is what you want then you have to start using NMS .

    Here is a thread that explains you how to do it.

    https://bukkit.org/threads/how-to-override-default-minecraft-mobs.216788/
     
  3. Offline

    johnny boy

    Oh no I've heard how annoying NMS is.. Well thank you and I'm not locking yet as I may have an issue.

    EDIT: Actually I Think I might leave this for another.. year? It still seems complicated. Thanks for you help though.
     
  4. Offline

    bennie3211

    What are the "basics" for you that you want to go on with AI? What have you already made with Java/Bukkit? Besides that, what is wrong with tutorials made by people? Most of them are good enough to follow if you have enough knowledge about Java and the Bukkit API. And what will be the difference between tutorials that are already written/explained and the explanation you will get here?

    Please don't take this as a hate comment or to stop you with doing what you want to do, but AI can be rather complex (depends on what you want to do) and there are already some tutorials to customize mob's behavior. So if you explain what you want to accomplish with AI then people can help you linking good tutorials or explain in pseudo code or logical steps what you need to do. One other thing you can do is try it for yourself with the tutorials that you can find and come back with questions or problems so we can help you solve them if you encounter one.
     
  5. Offline

    MrGeneralQ

    It's very complicated stuff. I didn't start using it and probably never will. You do have more access using NMS but since you have to continuesly update your plugin from then I decided to not start with it.
     
Thread Status:
Not open for further replies.

Share This Page