How to use NMS?

Discussion in 'Plugin Development' started by Waffletastic, Dec 1, 2011.

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

    Waffletastic

    So, I want effects that aren't in bukkit yet, and a friend told me to use net minecraft server or something, anyone know what this is and how to use it?
     
  2. Offline

    Killie01

    Never heard of it.
    Anyway, could you explain with more detail, what you want to achieve?
     
  3. You need to add craftbukkit as a resource just like you did with bukkit.
    Then you can access classes like CraftServer, CraftWorld (anything beginning with Craft, basically) as well as net.minecraft.server classes (which is the native server code, modified by bukkit).

    Note that you should only do that if there really is no other option.
    Your plugin then becomes very more likely to break with updates.

    You can find the code itself here:
    https://github.com/Bukkit/CraftBukkit (all classes that were modified/added by craftbukkit)
    https://github.com/Bukkit/mc-dev (all unmodified net.minecraft.server classes that craftbukkit uses)
     
Thread Status:
Not open for further replies.

Share This Page