Mineuniverse
Mods
Phantom Loader

Phantom Loader

MOD
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.
by HexagonNico
Download Claim this project
339,111 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library
Advertisement Remove ads with Premium →

Phantom Loader

Phantom Loader is an API 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 Library - 19.4.1 Fabric
MC 1.19.4, Fabric
Release 2024-01-21 Get
Phantom Library - 19.4.1 Forge
MC 1.19.4, Forge
Release 2024-01-21 Get
Phantom Library - 20.3.1 Fabric
MC Fabric, 1.20.3, 1.20.4
Release 2024-01-21 Get
Phantom Library - 20.3.1 Forge
MC 1.20.3, Forge, 1.20.4
Release 2024-01-21 Get
Phantom Library - 20.1.5 Forge
MC 1.20.2, 1.20.1, Forge
Release 2024-01-21 Get
Phantom Library - 20.1.5 Fabric
MC 1.20.2, Fabric, 1.20.1
Release 2024-01-21 Get
Phantom Library - 20.3.0 Fabric
MC Fabric, 1.20.3
Release 2024-01-12 Get
Phantom Library - 20.3.0 Forge
MC 1.20.3, Forge
Release 2024-01-12 Get
Phantom Library - 19.4.0 Fabric
MC 1.19.4, Fabric
Release 2024-01-12 Get
Phantom Library - 19.4.0 Forge
MC 1.19.4, Forge
Release 2024-01-12 Get
Phantom Library - 20.1.4 Fabric
MC Fabric, 1.20.1
Release 2024-01-07 Get
Phantom Library - 20.1.4 Forge
MC 1.20.1, Forge
Release 2024-01-07 Get
Phantom Library - 20.1.3 Forge
MC 1.20.1, Forge
Beta 2024-01-06 Get
Phantom Library - 20.1.3 Fabric
MC Fabric, 1.20.1
Beta 2024-01-06 Get

More from HexagonNico

Advertisement Remove ads with Premium →

You Might Also Like