Mineuniverse
Log in Register
Mods

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.
by HexagonNico
Download Claim this project
284,533 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

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 - 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.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

Reworked Metals
8,485
Spider Caves
56,388
project-915316
2,859
Buzzy Drones
27,239
project-590823
264
Controlled Insomnia
214

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314