


Info
Forces EMI Loot to display loot table changes that were made using LootJS scripts.
This mod fixes issue #111. The fix is very simple, but the cost is that EMI Loot has to parse all loot tables twice (once before LootJS which was the original reason it wouldn't had anything from LootJS, and a second time after LootJS), but I don't think this will have any noticeable effect on performance. There's probably a better solution but I'm a bit limited since this fix has to be a mixin.
Dependencies
- NeoForge
- EMI Loot v0.7.9
⚠️ IMPORTANT️ ⚠️
- This fix only works when using the
LootJS.lootTables()event instead ofLootJS.modifiers(). There are more details about this in the LootJS Wiki - You also don't actually need LootJS for this fix; if there's some other mod facing the same issue with EMI Loot, this mod should fix it.
- Once the EMI Loot author has a fix, I'll archive this project and redirect to the EMI Loot page.
Comparison
Using this script:
LootJS.lootTables(e => {
e.getEntityTable('minecraft:pig').createPool(pool => {
pool.addEntry(LootEntry.of('minecraft:diamond').setCount([2, 6]))
})
})
Before Fix

After Fix

Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as emi_loot_fix-1.0.0.jar — drop this file into the mods folder
- Download size: 4 KB
- Download link checked 23 Aug 2026 — working
These come from our own check of the pack file, not from the source page.