
Force Enchant
Force Enchant is an advanced Minecraft modification (version 1.21.1 and higher for NeoForge platform) that revolutionizes enchantment handling. It enables automatic application, replacement, or removal of enchantments on items when specific in-game events occur.
🎯 Key Features
- Event-Based Enchantments — Activation of various effects upon player death, login, crafting, and other significant actions.
- Flexible Rule Configuration — Unlimited number of
.toml
files can be created in theconfig/forceenchant/rules/
directory to define mod behavior. - Precise Item Selection — Actions can be applied to specific items, element groups via tags, or all items from particular mods.
- Existing Enchantment Management — Option to overwrite current spells or preserve them unchanged.
- Complete Item Destruction — Ability to instantly remove corresponding items upon event triggers (optional feature).
💡 Practical Applications
- Applying Curse of Vanishing to swords after character death (even with inventory retention enabled).
- Automatic addition of Unbreaking III to elytra upon each game login.
- Instant destruction of specific tools from other mods when picked up.
- Application of specialized enhancements when crafting items or breaking blocks.
⚙️ Configuration System
Each settings file allows defining:
- Target items, tag groups, or mod identifiers.
- Trigger events — any available game engine events.
- Additional activation conditions based on inventory state.
- Replace existing enchantments parameter.
- Destroy items option instead of charm manipulation.
📝 Rule Example
enabled = true # Rule active
destroy_item = false # Do not destroy item
enchantment = "minecraft:vanishing_curse" # Spell type
level = 1 # Enchantment level
replace_existing = true # Replace existing charms
items = [] # Specific items not listed
tags = ["minecraft:swords"] # Applies to all swords
modids = [] # Mod identifiers not set
trigger_items = [] # No trigger items
trigger_tags = [] # Activation groups not defined
event_triggers = ["LivingDeathEvent"] # Activation upon death