ModsFinder

Random Enchant Fix

by Txni

Random Enchant Fix is a utility for modpack developers that stops the minecraft:enchant with levels loot function from applying unwanted enchantments.

FabricNeoForgeClient and serverCustom license1.21.1

What it does

The mod lets pack authors list enchantments that the minecraft:enchant with levels function must not apply. A built-in default removes placeholder enchantments that a third-party datapack hands out to its custom boss mobs. A server running it needs every connecting player to have it too. Builds exist for Fabric and NeoForge, both for 1.21.1, with fabric-1.21.1-1.0.1 and neoforge-1.21.1-1.0.1 as the latest files from 2025-07-29. Fabric API and TxniLib are required. The mod is released under a custom license and is not open source.

Key features

  1. Blocked enchantments

    Enchantments listed in the configuration are skipped by the enchant with levels loot function.

  2. Built-in datapack fix

    A default fix removes boss-only placeholder enchantments that a datapack would otherwise hand out.

  3. Loot table repair

    Random loot results stay free of enchantments that were never meant to appear in normal play.

Compatibility

Latest build for each game version and loader.

1.21.1fabric-1.21.1-1.0.1neoforge-1.21.1-1.0.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
TxniLibMultiversion library mod for Txni projects
Required

Questions

Does Random Enchant Fix need Fabric API?

Yes. Fabric API is required on Fabric, and TxniLib is required on both Fabric and NeoForge.

Does the server need Random Enchant Fix?

Yes. The server and every player need the mod installed.

In the catalog

Random Enchant Fix is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from Txni

All projects

Similar mods

What the author says

This mod allows modpack developers to remove enchantments from being applied with the minecraft:enchant_with_levels function. By default, this applies a fix for the Dungeons and Taverns datapack, removing some placeholder enchantments only meant to be applied to its custom boss mobs.
Txni, on the Modrinth page

Official listing

Owner
Txni
Published
2025-02-28
Updated on Modrinth
2025-07-29
Facts verified
2026-10-15

Tags