DEUF (Duplicate Entity UUID Fix): Stop the “Keeping entity … that already exists with UUID” Spam
If you have been playing Minecraft for a long time, you have probably seen a world survive several updates, mod packs, and server restarts. That is part of the charm of the game: your builds, biomes, and redstone contraptions stick around. Unfortunately, older worlds can also carry messy entity data, and one of the most annoying symptoms is a flood of warnings that look like “Keeping entity minecraft:painting that already exists with UUID …” Those messages are not just cosmetic noise. They clutter your logs, make real errors harder to spot, and on dedicated servers they can turn your console into an endless scroll of warnings.
What the warning actually means
Minecraft tracks almost everything that moves or interacts as an entity: mobs, dropped items, paintings, minecarts, armor stands, and plenty of modded objects too. Each entity is supposed to have a unique identifier (a UUID) so the game can save, load, and synchronize it reliably. When two different entities share the same UUID, the server has to pick which one to keep. That is when you get the “Keeping entity … that already exists with UUID …” warning: the world is telling you it detected a duplicate and is resolving the conflict in a way that can repeat over and over.
This issue is especially common when:
- You upgraded an old world across many Minecraft versions.
- You copied regions, restored backups, or merged saves imperfectly.
- You run a long-lived multiplayer server with heavy world editing or migration tools.
- Mods or plugins changed how entities spawn, despawn, or persist between sessions.
Even though the underlying bug has been discussed on the official bug tracker for a while, many players still end up living with the spam because there is no universal “flip a switch” fix inside vanilla Minecraft.
How DEUF helps: fixing duplicate UUIDs instead of ignoring them
DEUF (Duplicate Entity UUID Fix) is a mod aimed at that exact problem. Rather than letting duplicate UUIDs trigger endless warnings, it intervenes and assigns a new UUID to the conflicting entity so the duplicate situation can be resolved cleanly. After the fix is written into the world data, reloading the world or restarting the server should stop the repeated warnings for that specific entity, because it no longer collides with another entity’s UUID.
On the first load after you install the mod, you may actually see more log activity than before, not less. That is expected: DEUF can log informational lines explaining that it changed an entity’s UUID from the old value to a new one. Think of it as a one-time repair pass. Once the world saves those changes, subsequent loads are typically quiet again for those entities.
Server-friendly setup: who needs the mod?
If you run a modded server, you will usually place DEUF in the server’s mods folder (the same drag-and-drop style install many Fabric or Forge mods use, depending on the build you are using for your Minecraft version). Players connecting to the server typically do not need the mod installed on their clients just to join. That makes DEUF a practical choice for cleaning up persistent log spam without forcing every member of your community to match an extra dependency.
When you are curating a mod list for a survival server or a co-op realm, juggling compatibility across Minecraft versions, loaders, and updates gets old fast. If you want a smoother workflow for grabbing and updating mods without hunting scattered pages, this mod can be easily installed via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu, which pairs nicely with keeping a server’s mod folder tidy over time.
What you should do before you try it
DEUF changes entity identity data to repair duplicates. Even when short tests look fine, world repair tools always deserve respect. Treat this like any other world-maintenance step:
- Make a full backup of your world folder before the first run.
- Test on a copy if your world is precious or heavily modded.
- Watch the logs during the first session so you understand what was repaired.
- After a successful pass, restart once and confirm warnings stay gone for the same entities.
The author notes that testing has been limited but positive so far. That is encouraging, but it is still the kind of mod where “it worked for me” is not a substitute for your own backup discipline.
Reading the difference in your logs
Without DEUF, you might see the same “Keeping entity …” warning repeat in a tight loop, especially for entities like paintings that are easy to duplicate in problematic saves. With DEUF installed, the first load may still show the original warnings up to the point the mod detects the conflict, followed by clearer informational lines from the mod’s logger indicating UUID changes. On the second load and beyond, those repeating warnings for the repaired entities should no longer dominate your console, which makes monitoring servers, debugging other mods, and tracking real crashes far less painful.
Conclusion
Duplicate entity UUID warnings are a classic pain point for long-lived Minecraft worlds and busy servers. They are tied to how the game stores entities across chunks and sessions, and they can linger even while players wait for broader engine-level fixes. DEUF offers a targeted modded approach: repair the duplicates, persist the new UUIDs, and return your logs to something you can actually read. Pair it with backups, a cautious first test run, and a clear understanding that the first load is a repair pass, and you will be in a much better place the next time your old world tries to scream UUID collisions at you every few seconds.
For community discussion, you can look up the project’s Discord invite as plain text: discord.gg/3zXwr2atcY
--- **Update Jun 9, 2026:** Added 1 file for version 1.21.1 (NeoForge).