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
GregTech Easy GregTech Easy Cloth and Armor Cloth and Armor AdventureCrafts [Fabric] AdventureCrafts [Fabric] Create & Farmer's Delight + Create & Farmer's Delight + Distant Horizons Shaders Create Distant Horizons Shaders Create Cell Shader Cell Shader Recording Client for Locals MC Server Recording Client for Locals MC Server Create Fabulously [Fabric] Create Fabulously [Fabric] GeoRail GeoRail MTR Railway Network Access - Lite Edition MTR Railway Network Access - Lite Edition Stoneworks Immersion Pack (S.I.P) Stoneworks Immersion Pack (S.I.P) JSMP - recreated JSMP - recreated Fully Optimized 2 (Built in Shaders) Fully Optimized 2 (Built in Shaders) HLStuff - Adventure & Exploration HLStuff - Adventure & Exploration Optimal Optimization Optimal Optimization Technetium Technetium Cobblemon PokeFactory Cobblemon PokeFactory [Let's Do] Modpack - 1.19.2 [Let's Do] Modpack - 1.19.2 A Nature, Building and Exploring Pack A Nature, Building and Exploring Pack NSCOP生电客户端 NSCOP生电客户端 Christmas Dreams Christmas Dreams Cobblemon Optimized [FABRIC] Cobblemon Optimized [FABRIC] Create & Explore (C&E) Create & Explore (C&E) Crazy Cozy Adventure+ Crazy Cozy Adventure+ CreateAndSpace CreateAndSpace RPG 101: The Storm Scourge RPG 101: The Storm Scourge Better fps than vanilla and optifine Fox Adventures: Origins Fox Adventures: Origins Kinetia Kinetia immersive minecraft immersive minecraft Stay-Clear! Stay-Clear! Growth VR Growth VR Create Delight Create Delight Fabric FPS Boost Fabric FPS Boost Essential Medieval [FABRIC] Essential Medieval [FABRIC] Nomurras Terror Nomurras Terror B i o m e c h B i o m e c h CastleQuest SMP CastleQuest SMP Bettercraft - A New Experience Bettercraft - A New Experience New VanilIa New VanilIa One Day To Death One Day To Death (Closed) CE Wandering Wilds (Closed) CE Wandering Wilds The Backrooms EVOLVED The Backrooms EVOLVED DanilDrem3 Vanila Optimized(FPS BOOSTER) DanilDrem3 Vanila Optimized(FPS BOOSTER) Better Creative [FABRIC] Better Creative [FABRIC] MysticCraft Divivded Kingdoms MysticCraft Divivded Kingdoms NovaMTR Modpack NovaMTR Modpack NEEPMeat Official Modpack NEEPMeat Official Modpack StaTech Industry: GoG StaTech Industry: GoG True: Calamity True: Calamity Client S ( Fps Boost ) Client S ( Fps Boost ) The Incy Experience The Incy Experience Harmonia Series Harmonia Series The Watchtower The Watchtower Smooth FPS Smooth FPS Kryeit: Extra Enhanced Kryeit: Extra Enhanced Classic Evolved Classic Evolved Goonables Goonables Modern Nostalgia (Old meets New) Modern Nostalgia (Old meets New) Cobble Cottage FABRIC EDITION Cobble Cottage FABRIC EDITION Growth Non-VR Growth Non-VR ANTI-LAG(Updated(again)) ANTI-LAG(Updated(again)) Resimlrr Optimized Vone Resimlrr Optimized Vone - Utopia - - Utopia - Two Tails Craft Two Tails Craft Eldarval Drehmal Eldarval Drehmal Reload Again Reload Again Voyager RPG - A Fantasy Action RPG Experience Voyager RPG - A Fantasy Action RPG Experience MCParks - The Unofficial Modpack MCParks - The Unofficial Modpack Allhaven Modpack Allhaven Modpack QuestCreate VR QuestCreate VR The Milkyway SMP v1 beta (outdated) The Milkyway SMP v1 beta (outdated) One Heart One Slot One Heart One Slot Architectoribus Datum Architectoribus Datum Seecret Sunday Seecret Sunday Origins/Botania SMP Origins/Botania SMP Figuratives 2 Figuratives 2 Simply OptiFabric Simply OptiFabric Convergence SMP Convergence SMP Kryeit Gold Kryeit Gold Shenanigans Shenanigans Speed Run 64 (PRE-CONTINUED) Speed Run 64 (PRE-CONTINUED) Winter Leveling Winter Leveling Grubbs' Cozy Craft Grubbs' Cozy Craft Wildeprojekt Wildeprojekt Origins Extravaganza Origins Extravaganza Optimization Foundation Optimization Foundation Redstone Witch [Lite] Redstone Witch [Lite] Create Refabricated Create Refabricated Convergence Convergence SPARK - Performance Modpack SPARK - Performance Modpack Sunlights Sunlights Wild Odyssey Wild Odyssey Mainchit Mainchit The Core Modpack The Core Modpack The Sakura SMP The Sakura SMP Kingdom's Unbound Official Pack Kingdom's Unbound Official Pack ONX 19 ONX 19 Massively Optimized Massively Optimized team pkb pack team pkb pack

External Resources