CurseForge · Minecraft mod
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.
Quick answer
Which Phantom Loader release should I use?
Phantom Loader 20.1.5 targets 1.20.1, 1.20.2 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Phantom Loader required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Phantom Loader 20.1.5 need?
20.1.5. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Phantom Loader without breaking your instance.
Built for Phantom Loader 20.1.5. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 20.1.5. It targets 1.20.1, 1.20.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 20.1.5. It opens that exact file at the source.
About this project
What does Phantom Loader add?

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
Project description from CurseForge.
Pick your setup
Phantom Loader by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader builds1.19.4
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Phantom Loader versions and loaders
20.1.5
library-forge-20.1.5.jar
21 Jan 2024
20.1.5
library-fabric-20.1.5.jar
21 Jan 2024
Phantom Library - 20.1.5 Forge
library-forge-20.1.5.jar
21 Jan 2024
20.3.1
library-forge-20.3.1.jar
21 Jan 2024
20.3.1
library-fabric-20.3.1.jar
21 Jan 2024
Phantom Library - 20.3.1 Forge
library-forge-20.3.1.jar
21 Jan 2024
Phantom Library - 20.1.5 Fabric
library-fabric-20.1.5-dev.jar
21 Jan 2024
Phantom Library - 20.3.1 Fabric
library-fabric-20.3.1-dev.jar
21 Jan 2024
19.4.1
library-forge-19.4.1.jar
21 Jan 2024
19.4.1
library-fabric-19.4.1.jar
21 Jan 2024
Phantom Library - 19.4.1 Forge
library-forge-19.4.1.jar
21 Jan 2024
Phantom Library - 19.4.1 Fabric
library-fabric-19.4.1-dev.jar
21 Jan 2024
Looking for an older file? The official CurseForge project page is in Resources.