Home›Java›Mods›Vanilla Custom Enchanting API
With this small API you can create vanilla (Datapack-Like) Enchantments that work like vanilla Enchantments.

Some features are missing but the main part already works.
For more information see: Minecraft Wiki:Adding custom Enchantments

With the EnchantmentModifier-Class you can now use the Methods:
- setEnchantmentDefinition(Enchantment, EnchantmentBuilder)
(Replaces only valid Fields from the EnchantmentBuilder to the existing Enchantment)
and
- setMaximumLevel(Enchantment, int)
(Replaces the maximum level of the existing Enchantment

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Vanilla Custom Enchanting API is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 354 times (via Spigot). Download it and open it directly in the game.

Explore more