CurseForge · Minecraft mod
Enchantment Control
Restricts enchantments from appearing in most sources
Quick answer
Which Enchantment Control release should I use?
Enchantment Control enchantmentcontrol-1.2c.jar targets 1.15.2. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.
Where it goes
Is Enchantment Control required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Enchantment Control enchantmentcontrol-1.2c.jar need?
enchantmentcontrol-1.2c.jar. Change the file and its required mods may change too.
Install Extra Tags, MixinBootstrap first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Enchantment Control without breaking your instance.
Built for Enchantment Control enchantmentcontrol-1.2c.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use enchantmentcontrol-1.2c.jar. It targets 1.15.2; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Extra Tags, MixinBootstrap first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside enchantmentcontrol-1.2c.jar. It opens that exact file at the source.
About this project
What does Enchantment Control add?
Overview
This mod is for restricting access to specific enchants from appearing in most places, especially an issue with modded enchants. A common fix in the past was to outright prevent enchants from registering if they were disabled. But this could cause desync between client and server if the owner disabled some enchants and post 1.12, configurable registration isn't as easy. Lets do something about that
Summary of obtaining enchants
Enchants can show up in several ways:
Enchanting table: mods can control this
Enchanting a book at the table: mods can control this
Via a loot table such as fishing or treasure chests: normal items are fine as they use the enchantment to determine application, BUT mods can't prevent enchanted books from having disabled enchants as the game will always apply it regardless.
A possible workaround here is to make a datapack that removes all enchanted books from all loot tables, but that may be impractical for larger packs and it would mean that enchanted books are no longer an option as a reward. Also bad for mod compat because only one mod can override a loot table at a time.
Villager trades: Trades cannot be controlled at all outside of the game, even by mods. The game determines a possible book trade by picking an enchant out of the registry at random, including modded enchants which circumvents the whole point of disabling them.
So, what do we do?
That's where this mod comes to the rescue. This mod doesn't change whether enchants can be applied to an item or not, but rather the last 2 cases of loot tables and villager trades
First, there is a loot table blacklist. Any enchants added to that list will not show up in loot tables via items or enchanted books.
Second, anything in the villager trades blacklist will no longer be obtainable by trading.
Enchants are specified by their registry name, for example minecraft:fortune
This mod requires mixin bootstrap until forge ships mixin https://github.com/LXGaming/MixinBootstrap/releases/download/v1.0.1/MixinBootstrap-1.0.1.jar
Need a custom mod for a reasonable fee? Just want to chat? Have a complex issue needing additional discussion? Come join the Discord:
Project description from CurseForge.
Pick your setup
Enchantment Control by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.15.2
1 loader build1.15.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Enchantment Control versions and loaders
enchantmentcontrol-1.2c.jar
5 May 2020
enchantmentcontrol-1.2b.jar
5 May 2020
enchantmentcontrol-1.2a.jar
4 May 2020
enchantmentcontrol-1.2.jar
5 Apr 2020
enchantmentcontrol-1.1.jar
5 Apr 2020
enchantmentcontrol-1.0.jar
27 Jan 2020
Looking for an older file? The official CurseForge project page is in Resources.