In this episode we will make a “module” which is a library allowing us to only import NMS for one Minecraft version such as 1.19, 1.16.5, .1.8.8 or any other and develop larger scale NMS-based projects that would not be possible all within one plugin due to classpath conflicts.

In this episode, we’re going to cover:

  • Making a separate module/library — Creating a library for a specific NMS version that we connect back to your main plugin(s).
  • Custom enchants (see previous video for the beginning) — Implementing enchantments for Minecraft 1.8.8, 1.16-1.19 in our modules.

Source Codes:

Learn To Use NMS In Minecraft Plugins (Spigot or Mojang Mappings)

If you want to code truly legendary plugins, you need to learn NMS.

The problem is, the vast majority of blog posts or videos about NMS are painfully outdated, disorganized or lacking.

That’s why we’ve made the biggest training to date NMS and packets called NMS Advanced. It contains 7 weeks of lessons, including custom pathfinders & AI, particles, animations, packets, NBT tags and so somuch more. 

It works for Spigot, Paper and Purpur and you can choose whether to use Spigot or Mojang mappings. It’s compatible with Minecraft 1.8.8 to 1.20+.

You’ll get 2x/weekly 1:1 calls to review your code by certified professionals, plus a 2,500+ member community and a full 30-day guarantee. Click here to get NMS Advanced now!