Wiki 9Minecraft Wiki 9Minecraft

Forge Config API Port Mod Wiki & Guide

Guides 4FAQ 20Related mods 48

A compatibility library that ports the Forge configuration API to other mod loaders, allowing mods to read and write config files across platforms.

DownloadForge Config API Port Mod

Get the files on 9Minecraft

Contents (5)
  1. Overview
  2. Guides
  3. Frequently asked questions
  4. Gallery
  5. You May Also Like

Overview

The Forge Config API Port Mod is a specialized developer utility designed to bridge the gap between different Minecraft mod loaders. Its primary function is to provide the full configuration API from Minecraft Forge and NeoForge to the Fabric and Quilt ecosystems. This allows mod developers to maintain a single configuration setup across multiple platforms without needing to rewrite code for each specific loader.

By using this library, developers can utilize the exact same package names, class names, and method signatures found in Forge/NeoForge. This is particularly beneficial for projects using a multi-loader architecture, where a common module can handle all configuration logic, which is then automatically applied to the specific loader distributions.

Guides

Step-by-step, in-game.

Frequently asked questions

What does Forge Config API Port actually do for me as a player?
It's a background library, not a feature mod, so you won't see a menu or items from it. It lets other mods that were built around Forge's config system load and save their config files on your mod loader, which is why those mods' options work at all.
How do I open the config screen for a mod that uses this?
Use the config button on the mod's entry in your mod list menu, or the config key/button the mod itself adds. Forge Config API Port provides the config screen framework, but the mod still has to register its own config screen for you to open it.
Where are the config files stored for mods using this library?
They live in the config folder inside your game directory, usually as .toml files named after the mod. Some mods split settings into separate files for common, client, and server options.
Why is a mod's config screen empty or showing no options?
The mod probably hasn't registered a config screen, or the config file failed to load because of a syntax error. Check the mod's config file for typos or invalid values, and look at the log for a parsing error mentioning that mod.

See all 20 Forge Config API Port questions ›