VA
Vanilla Custom Enchanting API
MC-Version: 1.21.5 #1API for creating vanilla-like Enchantments like Datapacks could do in 1.21.3
MC-Version: 1.21.5 #1latestUpdate to 1.21.5Apr 27, 2025 Update to 1.21.5MC-Version: 1.21.3 #5More Enchantment TagsDec 28, 2024 - 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 ) ) ;MC-Version: 1.21.3 #4Added EnchantmentModifierNov 10, 2024 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 EnchantmentMC-Version: 1.21.3 #3Updated structure + Add some DocumentationOct 31, 2024 Restructured paths and created a list in the Documentation Tab to show which Effects are available. More information and exampled comming soon.MC-Version: 1.21.3 #2Added more Enchantment EffectsOct 27, 2024 Added a lot Enchantment Effects For example: Code (Java): . effect ( new CrossbowChargingSoundsEffect (Sound. ENTITY_ITEM_PICKUP, Sound. BLOCK_DISPENSER_DISPENSE, Sound. ENTITY_GENERIC_EXPLODE ) ) . effect ( new ItemDamageEffect ( new SetValueEnchantEffect (LevelBasedValue. linear (1f ) ) ) ) . effect ( new DamageProtectionEffect ( new SetValueEnchantEffect (LevelBasedValue. linear (3f ) ) ) ) . effect ( new ProjectileSpreadEffect ( new AddValueEnchantEffect (LevelBasedValue. linear (1f ) ) ) ) . effect ( new ProjectileCountEffect ( new AddValueEnchantEffect (LevelBasedValue. linear (10f ) ) ) ) . effect ( new CrossbowChargeTimeEffect ( new AddValueEnchantEffect (LevelBasedValue. linear (10f ) ) ) )MC-Version: 1.21.3 #1Update to 1.21.3Oct 24, 2024 Updatet to 1.21.3 (some internal vanilla changes could cause some errors, pls report them)MC-Version: 1.21.1 #3Add Enchantment EffectsOct 23, 2024 Your now able to add some Enchantment-Effects that modify Attributes from the Player. Attributes apply depending on which slot-groups are present. To apply a new Attribute-Enchanting Effect you can add following to the EnchantmentBuilder: ENCHANTMENT_BUILDER.effect(new AttributeEnchantEffect(Attribute.GENERIC_MAX_HEALTH, new LevelBasedValue.Linear(1f,1f), AttributeEnchantEffect.Operation.ADD_VALUE)) The LevelBasedValue allows to modify the impact of the Enchanting-level and has some variations: Clamped, Fraction, LevelsSquared, Linear, Lookup, ConstantMC-Version: 1.21.1 #2Added Exclusive EnchantmentsOct 22, 2024 Added exclusive Enchantments to the EnchantmentBuilderMC-Version: 1.21.1 #1Oct 22, 2024
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta