
Modrinth · Minecraft mod
NoMaxEnchant: Customize Anvil Enchantment Level Cap
Works with modded and vanilla enchantments. Uncap enchantment levels on the anvil: Remove enchantment cap, configure per-enchantment cap and set a global cap for all enchantments. Combine books above the vanilla max.
Quick answer
Which NoMaxEnchant: Customize Anvil Enchantment Level Cap release should I use?
NoMaxEnchant: Customize Anvil Enchantment Level Cap 4.0.3+26.3-fabric targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.
Where it goes
Is NoMaxEnchant: Customize Anvil Enchantment Level Cap required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does NoMaxEnchant: Customize Anvil Enchantment Level Cap 4.0.3+26.3-fabric need?
4.0.3+26.3-fabric. Change the file and its required mods may change too.
Install Fabric API 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 NoMaxEnchant: Customize Anvil Enchantment Level Cap without breaking your instance.
Built for NoMaxEnchant: Customize Anvil Enchantment Level Cap 4.0.3+26.3-fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.3+26.3-fabric. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.3+26.3-fabric. It opens that exact file at the source.
About this project
What does NoMaxEnchant: Customize Anvil Enchantment Level Cap add?
NoMaxEnchant
Removes the anvil's enchantment level clamp, so combining books above the vanilla cap (e.g. Sharpness VI, Protection V) applies the enchantment at its real level instead of silently dropping back to vanilla max.
The problem this solves
Vanilla always clamps an enchantment's result on an anvil to its own getMaxLevel(), no matter what datapacks, loot table or other mods put into the book the user tries to apply. Two Sharpness V books combine into Sharpness V, even if the enchantment itself is able to go higher; the anvil throws the extra level away.
NoMaxEnchant removes that clamp. Whatever level the anvil calculation would naturally produce is what applies, up to a hard ceiling of 255.
Environment
Server-side only. The mod only needs to run on the server; the anvil calculation it patches is server-authoritative.
Known limitations
Anvil only. Any other way an enchantment's level could be set (commands, other mods' custom enchanting mechanics) isn't affected.
Mechanics
- Target: only the anvil's enchantment level calculation (
updateResult). Nothing else about anvil behavior (repair cost, item name, XP cost, slots) is touched. - Default behavior: with no configuration (
"globalCap": -1, emptyperEnchantment), the mod does nothing observable. It returnsvanillaMaxunchanged, exactly whatgetMaxLevel()would have returned anyway. The clamp only starts doing something onceglobalCapor aperEnchantmententry is set. - Global cap: an optional single level ceiling applied to every enchantment at once.
- Per-enchantment cap: an optional override for individual enchantments, by their id (e.g.
minecraft:sharpness), taking priority over the global cap. - Hard ceiling: no enchantment can ever exceed level 255, regardless of configuration. This isn't a design choice, it's a Minecraft engine limit (MC-231508).
- Level 1 enchantments: enchantments whose max is already 1 are left untouched (nothing to uncap).
Vanilla effective max levels
Minecraft has hard internal limits on how high most enchantments can usefully go. Raising a level past these points produces no additional effect in-game (or can even break the mechanic, as with Lure or Quick Charge).
The full reference is available on GitHub; complete table of every vanilla enchantment that scales past its normal maximum, with explanations.
Configuration
On first run, NoMaxEnchant writes config/nomaxenchant.json:
{
"globalCap": -1,
"perEnchantment": {
"dummy:dummy": 42
}
}
globalCap: any value> 0becomes the level ceiling for every enchantment that has no specific override.-1(default) means "no global cap, fall back to vanilla max".perEnchantment: maps an enchantment's id to its own cap. Takes priority overglobalCap. Thedummy:dummyentry is a placeholder showing the expected format; it doesn't match any real enchantment and can be removed.
If the config file is missing, empty or fails to parse, NoMaxEnchant falls back to vanilla behavior (no cap changes) and logs a warning; it never crashes the server over a bad config file.
Example configuration
There's a ready-to-use config on GitHub that sets every vanilla enchantment to its true effective maximum.
You can:
- Copy it directly as
./config/nomaxenchant.json - Use it as a base
- Add entries for modded enchantments
Project description from Modrinth.
Pick your setup
NoMaxEnchant: Customize Anvil Enchantment Level Cap by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
3 loader builds1.21.4
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
NoMaxEnchant: Customize Anvil Enchantment Level Cap versions and loaders
4.0.3+26.3-fabric
NoMaxEnchant-4.0.3+26.3-fabric.jar
6 Dec 2026
4.0.3+26.3-forge
NoMaxEnchant-4.0.3+26.3-forge.jar
6 Dec 2026
4.0.3+26.3-neo
NoMaxEnchant-4.0.3+26.3-neo.jar
6 Dec 2026
4.0.2+26.3-neo
NoMaxEnchant-4.0.2+26.3-neo.jar
6 Dec 2026
4.0.2+26.3-forge
NoMaxEnchant-4.0.2+26.3-forge.jar
6 Dec 2026
4.0.2+26.3-fabric
NoMaxEnchant-4.0.2+26.3-fabric.jar
6 Dec 2026
4.0.1+26.3-forge
NoMaxEnchant-4.0.1+26.3-forge.jar
6 Dec 2026
4.0.1+26.3-neo
NoMaxEnchant-4.0.1+26.3-neo.jar
5 Dec 2026
4.0.1+26.3-fabric
NoMaxEnchant-4.0.1+26.3.jar
24 Sept 2026
3.0.2
NoMaxEnchant-3.0.2.jar
15 Sept 2026
2.0.2
NoMaxEnchant-2.0.2.jar
27 Aug 2026
Looking for an older file? The official Modrinth project page is in Resources.