promotional bannermobile promotional banner

Anvil Restrict

A lightweight, highly-configurable utility mod to restrict or ban specific enchantments from being applied via Anvils.

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.

The Anvil Restrict Team

profile avatar
Owner
  • 1
    Followers
  • 12
    Projects
  • 48.2K
    Downloads

More from KCtops6View all

  • Useful Villagers project image

    Useful Villagers

    • 41
    • Mods

    Productive Villagers changes NPC behavior, turning passive NPCs into a diligent, automated workforce. Villagers gain advanced AI to perform profession-specific tasks, manage inventories, auto-trade, and level up independently near their workstations.

    • 41
    • May 13, 2026
    • Mods
    • +3
  • Infinite Horizons - Modded Superflat Survival project image

    Infinite Horizons - Modded Superflat Survival

    • 36.5K
    • Modpacks

    A modded superflat experience

    • 36.5K
    • May 8, 2026
    • Modpacks
    • +3
  • Infinite Horizons 2 - Superflat Survival project image

    Infinite Horizons 2 - Superflat Survival

    • 5.3K
    • Modpacks

    A modded superflat experience

    • 5.3K
    • May 6, 2026
    • Modpacks
    • +1
  • Moss Clump project image

    Moss Clump

    • 298
    • Mods

    This Minecraft mod introduces a moss clump item and a corresponding crafting recipe to create moss blocks, providing a more granular way to handle and process moss-related materials.

    • 298
    • March 16, 2026
    • Mods
  • Useful Villagers project image

    Useful Villagers

    • 41
    • Mods

    Productive Villagers changes NPC behavior, turning passive NPCs into a diligent, automated workforce. Villagers gain advanced AI to perform profession-specific tasks, manage inventories, auto-trade, and level up independently near their workstations.

    • 41
    • May 13, 2026
    • Mods
    • +3
  • Infinite Horizons - Modded Superflat Survival project image

    Infinite Horizons - Modded Superflat Survival

    • 36.5K
    • Modpacks

    A modded superflat experience

    • 36.5K
    • May 8, 2026
    • Modpacks
    • +3
  • Infinite Horizons 2 - Superflat Survival project image

    Infinite Horizons 2 - Superflat Survival

    • 5.3K
    • Modpacks

    A modded superflat experience

    • 5.3K
    • May 6, 2026
    • Modpacks
    • +1
  • Moss Clump project image

    Moss Clump

    • 298
    • Mods

    This Minecraft mod introduces a moss clump item and a corresponding crafting recipe to create moss blocks, providing a more granular way to handle and process moss-related materials.

    • 298
    • March 16, 2026
    • Mods