Enchantment Packs is a lightweight utility mod that adds a flexible enchantment driven attribute system to Minecraft. It is designed to work with other mods by attaching attribute changes to existing enchantments, without adding new enchantments of its own. Everything is driven by external data packs, so you can fully control how enchantments affect player stats without changing code.
At its core, Enchantment Packs reads custom definitions from a folder in your game directory called enchantmentpacks. These packs use a simple JSON format that lets you define which enchantments modify which attributes, along with how those modifications are applied. When the game starts, the mod loads all valid packs, registers the rules, and applies them automatically during gameplay.
The system supports both fixed value changes and percentage based scaling. This allows you to create simple bonuses like extra health, or more complex scaling effects such as increasing movement speed based on enchantment level. All changes are applied dynamically based on the player’s equipped items.
The system is built to be modular and safe. If a pack contains errors or references missing enchantments or attributes, the mod will skip those entries instead of crashing the game. This makes it suitable for modpacks where different sets of mods may or may not be installed.
Enchantment Packs does not add any creative tabs or standalone items. It focuses only on applying attribute changes based on enchantments. This keeps it clean and easy to integrate into existing setups.
Key features:
* Data driven enchantment system based on external packs
* Support for fixed value increases and decreases to attributes
* Support for percentage based increases and decreases
* Automatic application of effects based on equipped enchanted items
* Ability to assign multiple attribute modifiers to a single enchantment
* Support for partial overrides, allowing packs to change only what they need
* Mod compatibility through enchantment and attribute references using the namespace format
* Conditional loading based on whether other mods are installed
* Graceful handling of invalid data to prevent crashes
* Automatic refresh of player attributes when equipment changes
Enchantment Packs is intended to be used alongside other mods that provide enchantments or expand gameplay systems. It gives modpack creators and developers a powerful way to rebalance or extend enchantment behavior without writing additional code.
This mod is still in development and may change as new features and improvements are added.