Skip to content

适用于 Minecraft 1.20.1, 1.20.4 的 Phantom Loader 模组

Phantom Loader 是一个库,通过在构建时生成特定加载器的代码,自动化了为多个模组加载器创建 Minecraft 模组的部分流程。

次下载
1 次下载
次浏览
51 次浏览
已更新
已更新 02.10.2026

关于 Phantom Loader 模组

Phantom Loader is a library that automates part of the process of creating Minecraft mods for multiple mod loaders by generating loader-specific code at build time.

About

Normally, when creating a mod for both Fabric and Forge, mod developers have to create separate modules for both mod loaders and add loader-specific code that has mostly the same function. Phantom Loader allows you to automatically generate Forge and Fabric initializer classes on build time by keeping all code, or most of the code, in the common module.

The Phantom Library also takes care of abstracting each mod loader's basic functionalities to allow the developer to only depend on the abstraction from the common module.

For developers

Documentation for setting up and using Phantom Loader can be found on the Wiki.

An example mod using Phantom Loader can be found here.

Credits

Author: HexagonNico

如何安装 Phantom Loader

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.19.4–1.20.4 on Fabric or Forge automatically, together with its dependencies: Fabric API.

  3. Launch the game

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

Manually

  1. Install Fabric or Forge

    The loader must match the game version of the mod file, for example Minecraft 1.20.4. 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 library-forge-20.3.1.jar (139 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.

  4. Launch the loader profile

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

On a server

  1. A server on Fabric or Forge

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

  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.4 runs on Java 17: with a different Java version the game may close right after launch.

版本

含依赖项

Minecraft加载器文件日期操作
1.20.2Forge1.20.2139 KB 1
1.20.2Fabric1.20.2104 KB
1.20.4Forge1.20.4139 KB
1.20.4Fabric1.20.4104 KB
1.19.4Forge1.19.4137 KB
1.19.4Fabric1.19.4102 KB
1.19.4Forge1.19.4137 KB
1.19.4Fabric1.19.4102 KB

运行所需

需要它的内容

常见问题

Which Minecraft versions does Phantom Loader work on?

There are files for 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.19.4. The newest is 1.20.4.

Is Phantom Loader for Forge or Fabric?

There are files for Fabric: 1.19.4–1.20.4 and for Forge: 1.19.4–1.20.4. There are no files for NeoForge: a mod for another loader will not start.

What does Phantom Loader need to work?

Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.

Does Phantom Loader work on a server?

Yes. Phantom Loader works both in singleplayer and on a server.

Which Java does Phantom Loader need?

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

Where can I download Phantom Loader safely?

On this page: the file library-forge-20.3.1.jar (139 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 372f94790a861569c46e02b875e3ec9de0481dcc.

评价

成为第一个评价 Phantom Loader 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: HexagonNico许可证: Apache-2.0

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