Early accessEarly accessPackquill is in early access: it works and makes a backup before every change, but you may still run into bugs.

“Duplicate mods found”

The same mod is in the mods folder twice, usually an old version left behind. Keep one.

ForgeNeoForge

The message

Error message
net.minecraftforge.fml.loading.EarlyLoadingException: Duplicate mods found
Found duplicate mods: Mod ID: 'rubidium' from mod files: rubidium-0.6.2.jar, rubidium-0.6.4.jar

Mod sodium is present in multiple files: sodium-neoforge-0.6.13.jar, sodium-neoforge-0.6.9.jar

The full message is in the game folder: logs/latest.log for every start, and crash-reports/ for crashes that got far enough to write a report. In Prism, CurseForge and the Modrinth App, the instance's folder button opens the game folder.

What it means

Forge and NeoForge refuse to load two files of the same mod: they cannot know which one to use. The most common cause is an update that downloaded the new file without removing the old one, or a file downloaded twice (“mod (1).jar”).

Fabric Loader usually picks the newest copy on its own and starts, so on Fabric this is rarely an error. The extra file is still worth removing.

A library carried inside another mod can also clash with the same library in the mods folder. NeoForge then says “Library … is present in multiple files”.

How to fix it

  1. 1Note the mod id and the file names the message lists.
  2. 2Open the mods folder and sort by name. Delete every file the message lists except the newest one.
  3. 3Look for copies with “(1)” or “ - Copy” in the name, and for the same mod with two different file names (a “-forge” and a “-neoforge” file, for example).
  4. 4Check subfolders too. Some launchers load jars from folders inside mods.
  5. 5Start the game again.

With Packquill

Packquill notices the same mod in the folder twice when it scans an instance, and reads the duplicate error from a crash. When it updates a mod, it replaces the old file instead of adding a new one, so updates do not leave duplicates behind.

Packquill is free for Windows and Linux. It backs up every change, so anything it does can be undone.

Questions

Which file should I keep?

The newest version that fits your Minecraft version and loader. If you are unsure, look at the version in each file name.

I only see one file but it still says duplicate. Why?

Another mod carries the same mod inside it (a bundled library). Update both mods; if it stays, remove the separate copy and let the bundled one load.