Phantom Loader
Modby HexagonNico
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.
Type
Mod
CurseForge Downloads
345,382
CurseForge ID
Modrinth Downloads
1,363,387
Modrinth ID
Last Updated
Nov 5, 2026
Description

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
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
The Spice of Life
Encourages dietary variety through diminishing returns
Flat Bedrock (Forge / Fabric)
Make the world have flat bedrock
Architect's Palette
A host of new blocks to build and tinker with!
Witchery
Witchcraft and nature magic with a bit of voodoo and necromancy too
World Play Time
Displays the world's play time in the world selection menu.
No Resource Pack Warnings
Disable warnings for outdated resource/data packs
Included in Modpacks (22)
Show fewer
Aged
Just Play Autumn
Aged Multi (Light)
VibeCraft+
Psychosis
Goosker's Medieval Modpack
Beneath a Dying Sun