Back to mods
Phantom Loader project artwork

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Phantom Loader release should I use?

Updated 2 years ago
Latest stable file 20.1.5
Game version 1.20.1, 1.20.2
Loader Forge

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.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

No extra mods listed for this file

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.

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

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

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

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

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.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Phantom Loader versions and loaders

26 of 26 releases match

Looking for an older file? The official CurseForge project page is in Resources.