Sueta
VA

Vanilla Custom Enchanting API

MC-Version: 1.21.5 #1

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

·Plugin
  1. MC-Version: 1.21.5 #1latestUpdate to 1.21.5Apr 27, 2025
    Update to 1.21.5
    1 download
  2. MC-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 ) ) ;
    98 downloads
  3. 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 Enchantment
    23 downloads
  4. MC-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.
    16 downloads
  5. 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 ) ) ) )
    17 downloads
  6. 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)
    15 downloads
  7. 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, Constant
    19 downloads
  8. MC-Version: 1.21.1 #2Added Exclusive EnchantmentsOct 22, 2024
    Added exclusive Enchantments to the EnchantmentBuilder
    17 downloads
  9. MC-Version: 1.21.1 #1Oct 22, 2024
    10 downloads

Similar projects

Plugin →