Vanilla Custom Enchanting API icon

Vanilla Custom Enchanting API -----

API for creating vanilla-like Enchantments like Datapacks could do in 1.21.3



More Enchantment Tags
- Added the Method #
addEnchantmentTagToAdd(NamespacedKey) to the EnchantmentBuilder
which allows the enchantment to be in other EnchantmentTags
Example:

Code (Java):
EnchantmentHolder test = createNewEnchantment (
        new EnchantmentBuilder ( new NamespacedKey ( "test", "reach" ), "§6Reach" )
                . supportedItem (Material. STONE, Material. DIAMOND_PICKAXE, Material. BOW, Material. CROSSBOW, Material. BUNDLE )
                . primaryItems (Material. DIAMOND_PICKAXE, Material. STONE, Material. BOW, Material. CROSSBOW, Material. BUNDLE )
                . weight ( 100 )
                . anvilCost ( 1 )
                . addEnchantmentTagToAdd ( new NamespacedKey ( "minecraft", "treasure" ) )
                . addEnchantmentTagToAdd ( new NamespacedKey ( "minecraft", "tradeable" ) )
                . addExclusiveEnchantments (org. bukkit. enchantments. Enchantment. EFFICIENCY )
                . equipmentSlotGroup (org. bukkit. inventory. EquipmentSlotGroup. HAND )
) ;
----------, Dec 28, 2024
Resource Information
Author:
----------
Total Downloads: 268
First Release: Oct 22, 2024
Last Update: Apr 27, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings