Fermion Lib: The Java Coremodding Library for Minecraft Forge

Fermion Lib restores Java coremodding for Minecraft Forge 1.14+ with a stable API, enabling developers to create powerful mods without JS limitations.

Download Fermion for Minecraft 1.14.4, 1.12.2

Original name: Fermion

Minecraft: 1.12.2, 1.14.4

Loaders: Forge

FileVersionLoaderSize
Fermion-1.0.2.jar1.12.2Forge325 КБDownload
Fermion-1.0.2+hotfix.jar1.12.2Forge336 КБDownload
Fermion-1.0.2+hotfix.testless.jar1.12.2Forge336 КБDownload
Fermion-1.0.0.jar1.14.4Forge162 КБDownload
Fermion-1.0.1.jar1.14.4Forge333 КБDownload

Fermion Lib

Minecraft modding has always thrived on the creativity of its community, but behind every great mod is a solid foundation. For those who remember the golden days of Java coremods, the transition to Forge's 1.13 rewrite felt like losing a trusted tool. Enter Fermion Lib, a library that revives the art of Java coremodding for modern Minecraft versions while making it safer and more developer-friendly than ever before.

What Is Fermion Lib?

Fermion Lib is a back-end service designed specifically for the Forge mod loader, targeting Minecraft 1.14 and all subsequent releases. It acts as a bridge that allows mod developers to create Launch Plugins—the modern equivalent of coremods—using pure Java. Before Fermion, Forge had shifted to a JavaScript-based system for coremodding, which stripped away many conveniences like IDE support and type safety. Fermion Lib brings those back, relying on the Visitor pattern to manipulate bytecode safely and avoid class loading pitfalls.

If you are a regular player, downloading Fermion Lib alone will not change your game. It adds three mod entries to your list but remains dormant until a mod that includes a Launch Plugin is installed. In essence, it is a dependency that unlocks deeper mod functionality.

Why Java Coremodding Matters

Coremods allow developers to modify Minecraft's base code directly, enabling features that would be impossible with the standard Forge API. With the 1.13 update, Forge removed the old Java coremod system, forcing developers to use JavaScript. While functional, this approach lacked proper syntax highlighting, automatic completion, and the robustness of a compiled language. Fermion Lib solves these pain points by offering a Java-based alternative that integrates seamlessly with modern development environments.

Key Benefits for Developers

If you are a mod creator, Fermion Lib for Minecraft is a game-changer. Here is what it brings to your workflow:

  • Stable API Across Versions: The library provides a consistent interface that works from Minecraft 1.14 up to the latest releases. You will not need to rewrite your coremod structure every time ModLauncher changes—only when the target bytecode itself is altered.
  • User Configuration System: Every transformer you write can be toggled on or off by players, and you can even offer custom configuration options to tailor the experience.
  • Full IDE Support: Since Launch Plugins are written in Java, you get syntax highlighting, code completion, and all the other benefits of a modern IDE right out of the box.
  • Convenient Descriptors: Instead of classloading a class just to reference it, you can use Class-, Method-, and FieldDescriptors to target exactly what you need quickly and safely.
  • Single JAR Distribution: You can bundle your mod and its Launch Plugin in the same file without any extraction steps, simplifying distribution and installation.
  • Fail-Fast Error Handling: If something is misconfigured in your Launch Plugin, the game will refuse to start and print a clear error message, helping you catch issues early.

How to Install Fermion Lib

Getting started with Fermion Lib is straightforward. First, ensure you have the Forge mod loader installed for your chosen Minecraft version (1.14 or newer). Then, simply download Fermion Lib from a trusted mod repository. Place the downloaded JAR file into your Minecraft mods folder. That is it—the library will activate automatically when a compatible mod is present. If you are a developer looking to build upon it, refer to the official GitHub wiki for a quick start guide on creating Launch Plugins.

For those who prefer a more streamlined experience, the foxygame.net launcher includes Fermion Lib in its add-on catalog, allowing you to install it with a single click and keep it updated automatically alongside your other mods. This launcher also checks version compatibility, so you never have to worry about mismatched files.

Understanding the Runtime Copy Behavior

One unique aspect of Fermion Lib is that it copies itself at runtime, creating a new JAR file in the mods directory. This is not a bug or a security risk—it is a deliberate workaround for a limitation in ModLauncher's loading system. The copied file is automatically deleted when Minecraft closes. If you are curious, you can decompile the generated JAR and compare it with the original; they are identical. This mechanism ensures that Forge loads Fermion correctly every time.

Supported Minecraft Versions and Loaders

Fermion Lib is built exclusively for the Forge mod loader and supports a wide range of Minecraft versions, starting from 1.14 and extending through 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, and beyond. Because the API is designed to be version-agnostic, developers can maintain a single codebase for their Launch Plugins across multiple game updates, saving countless hours of maintenance.

Why Every Modpack Should Include Fermion Lib

Even if you are not a developer, having Fermion Lib installed future-proofs your modded setup. Many advanced mods rely on it to deliver features that would otherwise be impossible. By keeping it in your mods folder, you ensure compatibility with a growing ecosystem of powerful add-ons. The next time you download Fermion Lib, remember that it is the silent workhorse enabling some of the most innovative mods available today.

In a landscape where modding tools constantly evolve, Fermion Lib stands out by bridging the gap between old-school Java coremodding and modern Forge requirements. Whether you are a player seeking deeper mod integration or a developer craving a reliable coremodding framework, this library is an essential addition to your Minecraft toolkit.