Skip to content

Random Enchant Fix Mod for Minecraft 1.21.1

Fixes issues with enchant functions in loot tables applying unwanted enchantments.

from Txni · Modrinth
On a server
views
140 views
Updated
Updated 05.10.2026

About the Random Enchant Fix mod

banner

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.

How to install Random Enchant Fix

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.21.1 on Fabric or NeoForge automatically, together with its dependencies: Fabric API, TxniLib.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file randomenchantfix-fabric-1.0.1-1.21.1.jar (905 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API, TxniLib.

  4. Launch the loader profile

    Open “Mods” in the main menu: Random Enchant Fix should be in the list.

On a server

  1. A server on Fabric or NeoForge

    The mod only works on a server with the same loader and game version, for example 1.21.1.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.

Versions

With dependencies

MinecraftLoaderFileDateActions
1.21.1Fabric1.21.1905 KB
1.21.1NeoForge1.21.1318 KB
1.21.1NeoForge1.21.1316 KB
1.21.1Fabric1.21.1904 KB

What it needs to run

FAQ

Which Minecraft versions does Random Enchant Fix work on?

Only Minecraft 1.21.1: there are no files for other versions.

Is Random Enchant Fix for Forge or Fabric?

There are files for Fabric: 1.21.1 and for NeoForge: 1.21.1. There are no files for Forge: a mod for another loader will not start.

What does Random Enchant Fix need to work?

Required: Fabric API, TxniLib. Without them the mod will not start: dependencies go into the same mods folder.

Does Random Enchant Fix work on a server?

Yes. Random Enchant Fix works both in singleplayer and on a server.

Which Java does Random Enchant Fix need?

Minecraft 1.21.1 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download Random Enchant Fix safely?

On this page: the file randomenchantfix-fabric-1.0.1-1.21.1.jar (905 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 066f4e328d0ed22f5602b40c0db8119f73c46bef.

Reviews

Be the first to rate Random Enchant Fix

Comments 0

Sign in to commentSign in

Similar mods

All mods

More on this

Author: TxniLicense: LicenseRef-Tonis-MMC-License

Are you the author? Contact us — we will take it down within 48 hours.