CurseForge · Minecraft mod
Anvil Restrict
A lightweight, highly-configurable utility mod to restrict or ban specific enchantments from being applied via Anvils.
Quick answer
Which Anvil Restrict release matches 1.20.2 Forge?
Anvil Restrict 1.20-1.0.0 targets 1.20.2, 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Anvil Restrict 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 Anvil Restrict 1.20-1.0.0 need?
1.20-1.0.0 on 1.20.2 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Anvil Restrict without breaking your instance.
Built for Anvil Restrict 1.20-1.0.0 on 1.20.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.20-1.0.0. It targets 1.20.2, 1.20.1 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 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 1.20-1.0.0. It opens that exact file at the source.
About this project
What does Anvil Restrict add?
Anvil Restrict gives server owners and modpack creators total control over the Anvil. If you've ever felt that certain enchantments break the progression of your world, this mod allows you to disable them specifically within the Anvil interface without removing the enchantments from the game entirely.
When a player attempts to combine an item with a "banned" enchantment, the result slot simply remains empty, preventing the transaction.
Features
Total Control: Block any enchantment from any mod using its registry ID.
Simple Logic: Prevents "banned" books or items from being used in the secondary (right-hand) anvil slot.
Lightweight: Built with performance in mind using server-side tick validation.
Vanilla Feel: No messy error messages; the Anvil simply refuses the recipe, just like an incompatible vanilla combination.
Configuration
After running the mod once, you can find the config file at /config/anvil_restrict-common.toml. Simply add the enchantment IDs to the list.
Project description from CurseForge.
Pick your setup
Anvil Restrict by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Anvil Restrict versions and loaders
1.20-1.0.0
anvil_restrict-1.20-1.0.0.jar
5 Feb 2026
Looking for an older file? The official CurseForge project page is in Resources.