All Mods Resource Packs Data Packs Shaders Modpacks Plugins
FConfigLib

FConfigLib

by ForwarD-NerN • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

FConfigLib

FConfigLib is a simple JSON configuration library designed specifically for Fabric Mod Loader.

Features

  • Version compatibility: FConfigLib is compatible with every Minecraft version, supported by Fabric Loader. It works on Ornithe, LegacyFabric, Babric, and other such projects.

  • Support for other games: This library is not dependent on Minecraft code, it can be run on any other Java game loaded through Fabric Loader.

  • Easy to use API: FConfigLib has annotation-based value limiters and validators. It allows for safe version conversion via config fixers.

Java 8+ is required in order for this mod to work.

For mod devs

How to add to your project Add JitPack to your repositories list in build.gradle.
maven {
    name "JitPack"
    url "https://jitpack.io"
}

Add the following line to your dependencies in build.gradle.

dependencies {
  ...
  modImplementation "com.github.ForwarD-NerN:fconfiglib:1.1.0")
}

Currently, there is no documentation available, however, you can look at an example here.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.4.x 26.3.x 26.2.x +93
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x +80
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x +80
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x +80
Fabric
last yr. 1
[1.1.1] FConfigLib 1.1.1 by ForwarD-NerN on Jan 03, 2025
Download
  • Added ConfigManager.save() short for ConfigManager.save(this.getConfigFile())
  • Made the ConfigManager constructor protected
applyFixes() -> applyFixers()
  • OptionValidator has been deprecated in favor of FieldValidator
[1.1.0] FConfigLib 1.1.0 by ForwarD-NerN on Aug 27, 2024
Download
A lot of breaking changes occurred in this version. So mods that used previous versions of FConfigLib would likely break(not like there are any right now). In the future, I would try to make this mod as backwards compatible as possible(starting from 1.1.0).

  • Some access modifiers have been changed <br>
  • The way config fixers are registered and applied has been changed <br>
  • Added config validators, they can be applied with ConfigValidators annotation <br>
  • Added support for mixin-based configuration via @MixinOption and MixinConfigHelper
  • Added Sl4j Logger Wrapper
  • Lots of refactoring
[1.0.1] FConfigLib 1.0.1 by ForwarD-NerN on Aug 16, 2024
Download
Added isInitialized() <br>
Moved createEmptyConfig() into ConfigManager
[1.0.0] FConfigLib 1.0.0 by ForwarD-NerN on Aug 14, 2024
Download
  • Initial Release
FConfigLib Icon
Download FConfigLib
Select game version
Select platform