Discussion in 'Plugin Development' started by rangersmash, Jan 25, 2014.

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


    Hi guys,

    I was wondering how I would go about using NMS code to override AI e.t.c. but make it update proof and so I don't need to update every version? I believe it's called reflection, but any help would be appreciated.

  2. Offline


    It will never be update proof. When you are accessing Minecraft server code directly through reflection and not through the Bukkit API, it is likely that you will have to update your code or at least test it for every version.
    EDIT: but as far as using reflection goes, its not too hard, just really hacky.
    I recommend reading the java Oracle Java tutorials:
Thread Status:
Not open for further replies.

Share This Page