Modscraper Modscraper Minecraft
Random Enchant Fix logo

Random Enchant Fix

Mod

by Txni

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

Type

Mod

CurseForge Downloads

2,055,728

CurseForge ID

1209864

Modrinth Downloads

410,480

Modrinth ID

70vOH2S4

Last Updated

Jul 26, 2026

Description

![banner](https://cdn.modrinth.com/data/cached_images/06751ad27604fd802ee4a4b05c81f88696a9c1a6_0.webp) 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](https://www.curseforge.com/minecraft/mc-mods/dungeon-and-taverns) datapack, removing some placeholder enchantments only meant to be applied to its custom boss mobs.

Compatibility

Mod Loaders

Fabric Neoforge

Game Versions

1.21.1

Similar Mods

Included in Modpacks

External Resources