What are you searching for?

Phantom Loader

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.

download 853.5K Downloads · favorite 11 Followers · Updated 2 years ago
Fabric Forge Library 1.19.4 1.20.1 1.20.2 1.20.3 1.20.4

Versions

inventory_2
Phantom Library - 20.1.5 Forge

20.1.5 · 2 years ago · 138.65 KB

Release download
Forge 1.20.1 1.20.2
inventory_2
Phantom Library - 20.1.5 Fabric

20.1.5 · 2 years ago · 103.56 KB

Release download
Fabric 1.20.1 1.20.2
inventory_2
Phantom Library - 20.3.1 Forge

20.3.1 · 2 years ago · 138.65 KB

Release download
Forge 1.20.3 1.20.4
inventory_2
Phantom Library - 20.3.1 Fabric

20.3.1 · 2 years ago · 103.56 KB

Release download
Fabric 1.20.3 1.20.4
inventory_2
Phantom Library - 19.4.1 Forge

19.4.1 · 2 years ago · 137.16 KB

Release download
Forge 1.19.4

About

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

open_in_new View on Modrinth
Categories
Compatibility
Client: Required Server: Required
gavel Apache-2.0

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 127.9M
favorite 27,365
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.0M
favorite 13,653
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 65.8M
favorite 7,589
Library
Architectury API
Architectury API

by shedaniel

An intermediary api aimed to ease developing multiplatform mods.

download 60.8M
favorite 6,641
lock Cookie consent

SkinMC uses cookies to provide functionality and features.