ModsFinder

LazyDFU

by astei

Startup time for Minecraft on Fabric can be shortened by LazyDFU, which postpones part of the DataFixerUpper setup until a world actually needs converting.

FabricClient or server, optionalMIT LicenseOpen source1.14 – 1.20.6

What it does

DataFixerUpper, usually shortened to DFU, handles converting worlds from older Minecraft versions to newer ones. It starts before the game window appears, and during that setup it builds conversion rules for every version between the old and the launched one. That work runs in the background but is heavy on the CPU and memory. LazyDFU lets DFU start, but stops it from caching all of those rules up front, so they are compiled only when a world conversion requires them.

Because the rules are built on demand, a conversion may pause briefly the first time it runs, while the migration rules are compiled. Afterwards there is no ongoing cost. Open source under the MIT License, the mod works on the client and on the server, so either side can use it. Builds cover 1.14 – 1.20.6, and version 0.1.3 adds a client-side step that stops the client from initializing every rule.

Key features

  1. Deferred rule caching

    DFU is allowed to start, but the conversion rules are not cached during startup and are compiled only when needed.

  2. Client-side rule baking disabled

    From version 0.1.3, the client's native rule baking is turned into a no-op, so the client skips initializing all DFU rules by default.

  3. Lower memory use at launch

    Because the rule caching is skipped at startup, the background work that is heavy on the CPU and memory does not run before the title screen.

Compatibility

Latest build for each game version and loader.

1.20.x7 of 7 versions with builds
1.20.60.1.3
1.20.50.1.3
1.20.40.1.3
1.20.30.1.3
1.20.20.1.3
1.20.10.1.3
1.200.1.3
1.19.x5 of 5 versions with builds
1.19.40.1.3
1.19.30.1.3
1.19.20.1.3
1.19.10.1.3
1.190.1.3
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Faster startup on slower machines

On hardware with fewer CPU cores or less memory, the DFU rule caching step can take many seconds, and deferring it shortens the wait before the title screen.

Questions

Does LazyDFU need to be installed on the server?

No. Installing it is optional on the client, the server, or both, so it can be added wherever it is useful.

Why can a world conversion pause the first time it runs?

LazyDFU stops DFU from caching conversion rules at startup, so the rules are compiled when a world needs converting. That compilation can cause lag spikes, after which there is no further cost.

Is LazyDFU still needed on recent Minecraft versions?

Its support continues for older versions. Newer releases of Minecraft have optimized DFU startup, so the benefit of the mod varies by setup.

In the catalog

LazyDFU is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 11,154 mods support Minecraft 1.20.6.

More from astei

All projects

Similar mods

What the author says

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…
astei, on the Modrinth page

Official listing

Owner
astei
Published
2021-01-04
Updated on Modrinth
2022-06-08
Facts verified
2026-10-15

Tags