Community listing page, reviews here may not be monitored by the author.
EMI Loot + LootJS Fix
No reviews yet
Forces EMI Loot to display loot table changes that were made using LootJS scripts.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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

Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers