No video

Ep58. Custom Enchants (ADVANCED) - Minecraft Plugin Development

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 video, we'll cover:
- How to apply custom enchantment to an item using Bukkit.
- How custom enchantments are registered and client-side limitations.
- 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.
== COURSE ==
NMS Advanced (mentioned in this video): mineacademy.org/nms-advanced?...
== RESOURCES ==
Visit the full post: mineacademy.org/tutorial-58/?...
#coding #code #tutorial #money #developer #java #minecraft #minecraftplugin #bukkit #spigot #spigotmc #paper #paperspigot #programming

Пікірлер: 13

  • @he73hhdi7wij
    @he73hhdi7wij3 ай бұрын

    I'm a java developer for like 4 years now, coded advanced stuff like custom block & item engine and more MMORPG related stuff, but never done something with custom enchantments. Thank you for doing tutorials like these, kangaro. They are very interesting and i don't have to read in myself into it. :D cheers.

  • @kangarko

    @kangarko

    3 ай бұрын

    Thanks for your feedback!

  • @MoneyAccount-cv6cs
    @MoneyAccount-cv6cs3 ай бұрын

    this is insane, no one else makes in depth plugins like these, not commited to buy the course right now but this stuff is just gold

  • @arion4804
    @arion48043 ай бұрын

    This literally came just in time! Thanks man.

  • @danial-ie6jp
    @danial-ie6jp3 ай бұрын

    Thank you so much Kangarko i really wanted this video

  • @Gaga_356
    @Gaga_3562 ай бұрын

    "When shooting there is a beautiful tornado effect" My pc: 😐

  • @kangarko

    @kangarko

    Ай бұрын

    Ask Notch to send a donation

  • @samjediknight
    @samjediknight3 ай бұрын

    Do the package names matter at all other than for organization?

  • @kangarko

    @kangarko

    3 ай бұрын

    Other than for organization, avoiding conflicts with other plugins and letting other developers connect to your plugin, they do not.

  • @shawaizkigaming
    @shawaizkigaming3 ай бұрын

    How to register the enchantments if we don't want to use your foundation? Like i now you explained this at the end of the video but it was way too complicated, like i watched it 3 times but didn't understand anything...

  • @kangarko

    @kangarko

    3 ай бұрын

    It is, that's why I recommend using Foundation. Without it you need to do the following steps: 1. In your onLoad() in main plugin's class, unfreeze the registry: github.com/kangarko/Foundation/blob/master/src/main/java/org/mineacademy/fo/remain/Remain.java#L2638 2. Then implement all classes shown here: github.com/kangarko/Foundation/tree/master/src/main/java/org/mineacademy/fo/enchant - since we use reflection to find all classes extending SimpleEnchantment you would need to put a map of them somewhere for manual registration, then iterate through them and register each manually. Plus implement the steps from this video. 3. Then in onEnable() freeze registry back: github.com/kangarko/Foundation/blob/master/src/main/java/org/mineacademy/fo/remain/Remain.java#L2674 4. Implement a packet listener to add custom enchant item lore: github.com/kangarko/Foundation/blob/master/src/main/java/org/mineacademy/fo/plugin/FoundationPacketListener.java#L36

  • @shawaizkigaming

    @shawaizkigaming

    3 ай бұрын

    ​@@kangarko Could you make a tutorial on this, because the code that you have provided in those links, when i try it, it gives errors like "Cannot resolve static symbol" etc. According to my knowledge i think that to implement this code, i still need to have the Foundation. I have already subscribed to you and i would really apreciate if you could make a tutoruial on how to make and register Custom Enchantments using NMS, plus thanks for replying to me i am really grateful to you.