
Force Enchant
Force Enchant is a powerful NeoForge mod for Minecraft 1.21.1+ that lets you automatically apply, replace, or remove enchantments on items whenever specific events occur.
✨ Features
- Event-Based Enchanting – Trigger enchantments when events happen (death, login, crafting, etc.).
- Configurable Rules – Create as many
.tomlrules as you want inconfig/forceenchant/rules/. - Tag and Item Matching – Apply changes to specific items, tags, or whole mod namespaces.
- Replace or Skip Existing – Choose to overwrite enchantments or leave them if already present.
- Destroy Items – Instantly remove matching items when events occur (optional).
⚙ Example Use Cases
- Curse all swords with Vanishing on player death.
- Give Unbreaking III to elytra upon login.
- Destroy certain modded tools when picked up.
- Apply special buffs on crafting or block breaking.
📂 Configuration
Each .toml file can define:
- Target items, tags, or modids
- Trigger events (any NeoForge/Minecraft event)
- Optional inventory triggers
- Whether to replace existing enchantments
- Whether to destroy items instead of enchanting
🛠 Example Rule
toml
enabled = true
destroy_item = false
enchantment = "minecraft:vanishing_curse"
level = 1
replace_existing = true
items = []
tags = ["minecraft:swords"]
modids = []
trigger_items = []
trigger_tags = []
event_triggers = ["LivingDeathEvent"]


