Modscraper Modscraper Minecraft
LazyDFU logo

LazyDFU

Mod

by tuxed

Makes the initialization of DataFixerUpper "lazy", making the game start more quickly

Type

Mod

CurseForge Downloads

27,775,713

CurseForge ID

433518

Modrinth Downloads

14,491,961

Modrinth ID

hvFnDODi

Last Updated

Sep 11, 2026

Description

LazyDFU is an optimization mod for Minecraft that defers unnecessary initialization work so that it is only performed if required. Specifically, it makes the initialization of DataFixerUpper "lazy" - that is, it will not immediately create the rules required to migrate data from older versions of Minecraft to newer versions until it actually needs to do so.

THIS IS A FABRIC MOD. ANY VERSION FOR ANY OTHER MOD LOADER IS UNOFFICIAL AND NOT SUPPORTED BY ME. YOU HAVE BEEN WARNED.

As of Minecraft 1.19.4 and above, however, Mojang has significantly optimized DFU initialization enough that this mod is no longer necessary in many configurations. It will continue to be supported for older versions of Minecraft.

Compatibility

LazyDFU 0.1.2 is compatible with Minecraft 1.14 through 1.18.2, and works on the client and server side.

LazyDFU 0.1.3 is compatible with Minecraft 1.19 and above, however Mojang now implements the functionality LazyDFU provides on the server side. The client still initializes all DFU rules by default, so LazyDFU hooks into the native client functionality that enables DFU rule baking and turns it into a no-op.

Sponsor me!

Did this mod make Minecraft playable for you? Chip in a bit of money so I can continue developing it.

Why does it work?

DataFixerUpper (often abbreviated to DFU) is the Minecraft component responsible for handling world upgrades from older versions of Minecraft to newer versions. DFU is initialized very early in the Minecraft startup process - in fact, it's initialized before the game window even appears. It is laughably overengineered and very slow, but it's what Mojang gives us to work with.

As part of the DFU initialization process, it caches rules required to convert from older versions to MInecraft through every version in between, up to the version of the game being launched. This process takes place in the background, but it is extremely slow, as it is both CPU and memory intensive. With Minecraft 1.16.5, I have measured this process take 9 seconds on a Ryzen 9 3900X desktop (a high-end desktop CPU released in 2019) and 57 seconds on a laptop with an i5-8250U (a mid-range laptop chip from 2017).

All LazyDFU does is stop this process - it lets DFU initialize, but it will force it to not cache all these rules. As a result, the DFU rules are only compiled when a world needs to be converted. This means it is possible you may see lag spikes if LazyDFU forces the game to compile migration rules, but once complete there is no performance penalty.

Prove it to me

I recorded a video that shows you how effective LazyDFU is.

Comparing it to other mods

In comparison to other mods, LazyDFU has the primary advantage of being simple, safe, and having low impact on the game.

  • LazyDFU is a very simple mod. The entire mod is about a dozen lines of code, about as uncomplicated as a mod can get, while still delivering huge benefits. (This means it's also an ideal mod to use to experiment with a new Mixin platform!)
  • LazyDFU is highly compatible and safe. LazyDFU is extremely unlikely to conflict with other mods. This mod is based on a similar patch in Paper that had been in use for over a year with no reported issues with migrating to newer versions of Minecraft. (Paper has since changed to replacing Mojang's data fixers with a highly optimized implementation of its own.)

Compatibility

Mod Loaders

Fabric

Game Versions

1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 +21 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (216)

Show fewer
Better MC [FABRIC] BMC1 Better MC [FABRIC] BMC1 Medieval MC [FABRIC] MMC1 Medieval MC [FABRIC] MMC1 BounceSMP: Public BounceSMP: Public Homestead - A Cozy Survival Experience Homestead - A Cozy Survival Experience OptiFabriс OptiFabriс Valhelsia: Enhanced Vanilla Valhelsia: Enhanced Vanilla Create: Astral Create: Astral Pokemon Elysium Pokemon Elysium Linggango Linggango All of Fabric 3 - AOF3 All of Fabric 3 - AOF3 ArdaCraft ArdaCraft Landscapes Reimagined Genesis Landscapes Reimagined Genesis Create Live 4 Create Live 4 BigChadGuys and the Holy Grail BigChadGuys and the Holy Grail All of Fabric 6 - AOF6 All of Fabric 6 - AOF6 All of Fabric 5 - AOF5 All of Fabric 5 - AOF5 All of Fabric 7 - AOF7 All of Fabric 7 - AOF7 Another Quality Modpack 2 - AQM2 Another Quality Modpack 2 - AQM2 Backrooms: Found Footage Backrooms: Found Footage Homestead Homestead StaTech Industry StaTech Industry All of Fabric 4 - AOF4 All of Fabric 4 - AOF4 Create Optimized [FABRIC] Create Optimized [FABRIC] Prominence™ I (Legacy) Prominence™ I (Legacy) Medieval MC [FABRIC] MMC2 Medieval MC [FABRIC] MMC2 RaftPack RaftPack Origins++ Modpack Origins++ Modpack SpeedrunPack SpeedrunPack Sky FABRICation 2 Sky FABRICation 2 Sky FABRICation 3 Sky FABRICation 3 Wightcraft Wightcraft Spell Dimension Spell Dimension MAJNR Plus (Official) MAJNR Plus (Official) Fabri's Frontiers Fabri's Frontiers A Distant Journey A Distant Journey Sodium Chloride Sodium Chloride Extra Origins SMP Extra Origins SMP Fuller's PokePack: cobblemon / pokemon modpack Fuller's PokePack: cobblemon / pokemon modpack Symbolica Symbolica Survival Tools Survival Tools Medieval Immersed Medieval Immersed Sky FABRICation Sky FABRICation Insomnia: Hardcore | Origins, Bosses, Skills Insomnia: Hardcore | Origins, Bosses, Skills Fabric's Optifine Fabric's Optifine Biomes and Dungeons (BAD) RPG & Magic Biomes and Dungeons (BAD) RPG & Magic Dungeons & Mineshafts: 5th Edition Dungeons & Mineshafts: 5th Edition MI:Foundation MI:Foundation Allusiveness Allusiveness VulkanAPI Unofficial VulkanAPI Unofficial Photon Optimization Photon Optimization ElysiumCraft Rp ElysiumCraft Rp Nizco's Cobblemon Adventures Nizco's Cobblemon Adventures Xisuma's Hermitcraft Enhancements Xisuma's Hermitcraft Enhancements BetterFPS BetterFPS Newt+ (Sodium Edition) Newt+ (Sodium Edition) Progress: Create Progress: Create MTR Railway Network Access - Standard Edition MTR Railway Network Access - Standard Edition Fps+ BOOST FPS Fps+ BOOST FPS Star Wars: Galaxy Wars Star Wars: Galaxy Wars Forget Me Not Forget Me Not Shewolf's Origins Shewolf's Origins OptimizationHyperN OptimizationHyperN MTR Operation MTR Operation Create Tycoon Create Tycoon [Let's Do] Modpack - 1.20.1 [Let's Do] Modpack - 1.20.1 Sebi's Distant Horizons Optimization Pack Sebi's Distant Horizons Optimization Pack Steam 'n' Rails Server Modpack Steam 'n' Rails Server Modpack OptiFinium OptiFinium DarkRPG REDUX - RPG with Quests, Magic. Origins, Adventure DarkRPG REDUX - RPG with Quests, Magic. Origins, Adventure Sniff Client Sniff Client Melatonin Melatonin Crackmatica Crackmatica Techindustry Techindustry SpaceStation - Get a rocket and live in the space! [FABRIC] SpaceStation - Get a rocket and live in the space! [FABRIC] BlazeandCave's Advancements ModPack (BACAP) BlazeandCave's Advancements ModPack (BACAP) Cottage World Cottage World CRETANIA CRETANIA Fabric Essentials - Graphics, Sound, UI & Performance (Vanilla Compatible) Fabric Essentials - Graphics, Sound, UI & Performance (Vanilla Compatible) SharpSharp RPG SharpSharp RPG Our Story: Legends Our Story: Legends FPS FLAME [FABRIC] Performance Fps Boost and more FPS FLAME [FABRIC] Performance Fps Boost and more Terralith Adventure Terralith Adventure ZooCraft (Fabric) ZooCraft (Fabric) Ben  10 MINEDITION Ben 10 MINEDITION Modpack Essentials Modpack Essentials Zech's Hypixel Pack (1.19.3) Zech's Hypixel Pack (1.19.3) Boosted Performance Minecraft Boosted Performance Minecraft Mega Origins Collection - SMP RPG Edition Mega Origins Collection - SMP RPG Edition Create Conquest Arcane Create Conquest Arcane Horizon (RU) Horizon (RU) Best Boosted FPS Best Boosted FPS AzClient The Best Boosted FPS ModPack AzClient The Best Boosted FPS ModPack Realistic Minecraft Backrooms Realistic Minecraft Backrooms WarhammerCraft WarhammerCraft CordCraft Season 4 CordCraft Season 4 A beginning of Origins (Fabric) A beginning of Origins (Fabric) Wenton's silly gun and car thingy Wenton's silly gun and car thingy Doge Client Doge Client Conquest of the Bleak Isles Conquest of the Bleak Isles Not Quite Optifine Not Quite Optifine

External Resources