Back to mods
NoMaxEnchant: Customize Anvil Enchantment Level Cap project artwork

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which NoMaxEnchant: Customize Anvil Enchantment Level Cap release should I use?

Updated today
Latest stable file 4.0.3+26.3-fabric
Game version 26.3
Loader Fabric

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.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by NoMaxEnchant: Customize Anvil Enchantment Level Cap 4.0.3+26.3-fabric
required
Matching file found Matched file: 0.168.0+26.3

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.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 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, empty perEnchantment), the mod does nothing observable. It returns vanillaMax unchanged, exactly what getMaxLevel() would have returned anyway. The clamp only starts doing something once globalCap or a perEnchantment entry 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 > 0 becomes 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 over globalCap. The dummy:dummy entry 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.

4 available setups

Check 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

11 of 11 releases match

Looking for an older file? The official Modrinth project page is in Resources.