This advanced video talks about implementing brand new enchantments into Minecraft.
We will be using NMS to properly register your own, custom enchants at runtime so that they are properly recognized in the /enchant command as well as other plugins and Bukkit’s “containsEnchantment” method.
In this episode, we’re going to cover:
- A quick recap of enchantment API — How to apply custom enchantment to an item using Bukkit.
- Behind the scenes of custom enchantments — How custom enchantments are registered and client-side limitations.
- Adding 2x enchants — I’ll show you how to add a “Hide” and “Black Nova” custom enchants including ench. table into Minecraft. I’ll also show you how to add a custom damage effect to our enchant.
- Foundation vs native — How to add custom enchantments with and without our Foundation library.
Source Codes:
- NMSPlugin with modules (I’ll teach you modules in Ep59.)
- Foundation library
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!