Skip to content

适用于 Minecraft 1.20.1, 1.16.5 的 LazyDFU 模组

通过推迟非必要的初始化来加快游戏启动速度

起价 astei · Modrinth
次下载
31 次下载
次浏览
189 次浏览
已更新
已更新 05.09.2026
  • 1.14 — 1.20.6
  • Fabric
  • 客户端与服务器

关于 LazyDFU 模组

LazyDFU 是一个 Minecraft 优化模组,它会推迟不必要的初始化工作,使其仅在需要时才执行。具体来说,它让 DataFixerUpper 的初始化变得“惰性”——也就是说,它不会立即创建将数据从旧版本 Minecraft 迁移到新版本所需的规则,直到真正需要时才创建。

此模组适用于 Fabric/Quilt

兼容性

LazyDFU 0.1.2 兼容 Minecraft 1.14 至 1.18.2,并且在客户端和服务端均可运行。

LazyDFU 0.1.3 兼容 Minecraft 1.19 及以上版本,不过 Mojang 现在已在服务端实现了 LazyDFU 所提供的功能。客户端默认仍会初始化所有 DFU 规则,因此 LazyDFU 会挂钩到启用 DFU 规则烘焙的原生客户端功能,并将其变为空操作。

然而,从 Minecraft 1.19.4 及以上版本开始,Mojang 已对 DFU 初始化进行了大幅优化,使得此模组在许多配置下不再必要。它将继续为旧版本 Minecraft 提供支持。

赞助我!

这个模组让你的 Minecraft 变得可玩了吗?捐一点钱,让我能继续开发它。

它为什么有效?

DataFixerUpper(通常缩写为 DFU)是 Minecraft 中负责处理从旧版本 Minecraft 到新版本世界升级的组件。DFU 在 Minecraft 启动过程中很早就被初始化——事实上,它在游戏窗口出现之前就已初始化。它的设计复杂得可笑,而且非常慢,但这就是 Mojang 给我们的东西。

作为 DFU 初始化过程的一部分,它会缓存从旧版本转换到 Minecraft 所需经过的每一个中间版本、直到正在启动的游戏版本的规则。此过程在后台进行,但极其缓慢,因为它既消耗 CPU 又消耗内存。在 Minecraft 1.16.5 中,我测得此过程在 Ryzen 9 3900X 台式机(2019 年发布的高端台式机 CPU)上耗时 9 秒,在搭载 i5-8250U 的笔记本电脑(2017 年的中端笔记本芯片)上耗时 57 秒。

LazyDFU 所做的只是停止此过程——它让 DFU 初始化,但会强制它不缓存所有这些规则。因此,DFU 规则仅在需要转换世界时才会编译。这意味着如果 LazyDFU 强制游戏编译迁移规则,你可能会看到卡顿峰值,但一旦完成就不会有性能损失。

向我证明

我录制了一段视频,向你展示 LazyDFU 有多有效。

与其他模组比较

与其他模组相比,LazyDFU 的主要优势是简单、安全,并且对游戏影响很小。

  • LazyDFU 是一个非常简单的模组。整个模组大约只有十几行代码,几乎是一个模组能做到的最不复杂的形式,同时仍能带来巨大的好处。(这也意味着它是用来试验新 Mixin 平台的理想模组!)
  • LazyDFU 高度兼容且安全。LazyDFU 极不可能与其他模组冲突。此模组基于 Paper 中一个类似的补丁,该补丁已使用了一年多,没有关于迁移到更新版本 Minecraft 的问题报告。(Paper 此后已改为用其自己的高度优化实现替换 Mojang 的数据修复器。)

如何安装 LazyDFU

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.14–1.20.6 on Fabric automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric

    The loader must match the game version of the mod file, for example Minecraft 1.20.6. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file lazydfu-0.1.3.jar (14 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: LazyDFU should be in the list.

On a server

  1. A server on Fabric

    The mod only works on a server with the same loader and game version, for example 1.20.6.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.20.6 runs on Java 21: with a different Java version the game may close right after launch.

版本

含依赖项

Minecraft加载器文件操作
1.20.1Fabric1.20.114.2 KB 14
1.19.2Fabric1.19.214.2 KB 2
1.18.2Fabric1.18.215.2 KB 14
1.16.5Fabric1.16.515.2 KB 1

常见问题

Which Minecraft versions does LazyDFU work on?

There are files for 1.14–1.20.6, 31 versions in total. The newest is 1.20.6.

Is LazyDFU for Forge or Fabric?

Only for Fabric: 1.14–1.20.6. There are no files for Forge or NeoForge: a mod for another loader will not start.

Does LazyDFU need other mods?

The author lists no required dependencies: the Fabric loader is enough.

Does LazyDFU work on a server?

Yes. LazyDFU works both in singleplayer and on a server.

Which Java does LazyDFU need?

Minecraft 1.20.6 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download LazyDFU safely?

On this page: the file lazydfu-0.1.3.jar (14 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 0dfa8b03ed408fb7fdada29e01cfebba02af1049.

评价

成为第一个评价 LazyDFU 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: astei许可证: MIT

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。