Stats
Not rated yet
Additional Links
You may find some useful information by following these links
https://www.curseforge.com/minecraft/mc-mods/forge-config-api-port-fabric
Forge Config API Port [Fabric] is an unofficial port of Minecraft Forge’s Config API for fabric. MC Forge has a well-known API for doing configs. MC Forge commonly recommends you use their Config API for making mods for the sake of being easier to support for them. This can make it harder for those who want to want to port their mod to Fabric/Quilt or other loaders. So this mod ports the MC Forge Config API to Fabric.
The MC Forge Config API is actually quite simple, with just a few parsers and Java Interfaces and hardly makes any calls to Minecraft itself or other parts of Minecraft Forge. When it does refer to other parts of MC Forge, the unofficial port has an abstraction layer and general API. It is unknown how much work went into this, as it is not a cleanroom rewrite with many of the comments still in place. It is also important to note, that there are a few files missing such as ForgeConfig.java. So this is something that may need to be considered.
The mod is built as a drop-in replacement for the Minecraft Forge Config API and has all the same package names and everything. The mod is supposed to be used in an environment with multiple loaders and itself is in a gradle project that has MC Forge, FabricMC, QuiltMC, and Common(shared code) as separate that is possibly based on MultiLoader Template. It is unknown why they chose this development configuration, both the Quilt and MC Forge projects are likely dummy projects possibly for testing and not something you can actually download (though the main version, for Fabric, does work on Quilt officially). The mod in general is useful for people who do not want to use a 3rd party config API on MC Forge and still work on Fabric.
Mods can also be configured in the game if the mod Configured is installed, however many configs require this to be explicitly enabled so you may not have as much luck with the GUI as you would with the files.
The author is behind many other mods also, and many of them use this, there are also many other mods which use this.