ForgedAPI
by TexTrue
ForgedAPI is a Forge library that partially reimplements parts of Fabric API, so Fabric-oriented code can run on Forge.
What it does
The library provides a partial reimplementation of Fabric API on Forge. Its scope covers the base Fabric API functions, the Fabric lifecycle events and an Indigo renderer interface. Mods that depend on those Fabric pieces can use the matching functions on Forge through this library.
Two of its requirements are Fabric Rendering Reforgium and Fabric Rendering. The 1.16.5 build needs Reforgium because some of its features are already included there. Fabric Rendering depends on the Fabric Renderer API and its Indigo implementation, so those are pulled in alongside it. The library itself does not let a Fabric mod run on Forge.
Either side can run it, and neither needs it. Files target Forge for 1.16.5, 1.18.2 and 1.19.2, with 0.1.1+1.16.5 for 1.16.5 as the latest file, published in the alpha channel on 2023-05-27. The code is released under the Apache License 2.0 and is open source, and the source code and issue tracker are public.
Key features
Base Fabric API calls
Lets compatible code call the base Fabric API functions on Forge, without rewriting those calls.
Lifecycle event hooks
Provides the Fabric lifecycle event hooks that mods expecting them rely on.
Partial reimplementation
Only selected parts of Fabric API are reproduced, so not every Fabric mod will work.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Porting Fabric code to Forge
Developers can bring code that uses the covered Fabric API parts to a Forge project without rewriting those calls.
Who it’s for: Mod developers who maintain Forge projects and want to reuse Fabric API calls, and players who need a dependency that a Forge mod names.
Questions
Does ForgedAPI let Fabric mods run on Forge?
Which Fabric Rendering dependencies does ForgedAPI require?
Which game versions does ForgedAPI support?
In the catalog
ForgedAPI is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 12,559 mods support Minecraft 1.19.2.
More from TexTrue
Similar mods
What the author says
This mod doesn't allow the Fabric mod to run on Forge!
Official listing
- Modrinth page
- modrinth.com/mod/forgedapi
- Owner
- TexTrue
- Published
- 2023-05-10
- Updated on Modrinth
- 2023-05-27
- Facts verified
- 2026-10-15
