promotional bannermobile promotional banner

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.

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

The Phantom Loader Team

profile avatar
  • 16
    Followers
  • 6
    Projects
  • 1.4M
    Downloads
Donate

More from HexagonNicoView all

  • Underground Worlds project image

    Underground Worlds

    • 1.1M
    • Mods

    Adds underground biomes and underground dungeons, as well as some above ground structures, in a modular and configurable way.

    • 1.1M
    • May 15, 2026
    • Mods
    • +4
  • Controlled Insomnia project image

    Controlled Insomnia

    • 172
    • Mods

    Makes phantoms only spawn when you want them to.

    • 172
    • January 17, 2026
    • Mods
    • +1
  • Spider Caves project image

    Spider Caves

    • 50.6K
    • Mods

    Adds a spider cave biome and a spider armor

    • 50.6K
    • January 26, 2024
    • Mods
    • +4
  • Buzzy Drones project image

    Buzzy Drones

    • 27.1K
    • Mods

    A mod that add drones to move items around

    • 27.1K
    • January 18, 2023
    • Mods
    • +2
  • Underground Worlds project image

    Underground Worlds

    • 1.1M
    • Mods

    Adds underground biomes and underground dungeons, as well as some above ground structures, in a modular and configurable way.

    • 1.1M
    • May 15, 2026
    • Mods
    • +4
  • Controlled Insomnia project image

    Controlled Insomnia

    • 172
    • Mods

    Makes phantoms only spawn when you want them to.

    • 172
    • January 17, 2026
    • Mods
    • +1
  • Spider Caves project image

    Spider Caves

    • 50.6K
    • Mods

    Adds a spider cave biome and a spider armor

    • 50.6K
    • January 26, 2024
    • Mods
    • +4
  • Buzzy Drones project image

    Buzzy Drones

    • 27.1K
    • Mods

    A mod that add drones to move items around

    • 27.1K
    • January 18, 2023
    • Mods
    • +2