Language

FConfigLib

FConfigLib

Modrinth

Version-independent configuration library for Fabric Mod Loader

33.6k downloads 12 followers updated 17mo ago
latest v1.1.1 Modrinth
Fabric rd-132211 – 26.2-pre-5 Utility

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.

Versions

Release
1.1.1
fabric · rd-132211, rd-132328, rd-20090515 · 17mo ago
* Added ConfigManager.save() short for ConfigManager.save(this.getConfigFile()) * Made the ConfigManager constructor protected applyFixes() -> applyFixers() *…
33.0k
Release
1.1.0
fabric · rd-132211, rd-132328, rd-20090515 · 22mo ago
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…
301
Release
1.0.1
fabric · rd-132211, rd-132328, rd-20090515 · 22mo ago
Added isInitialized() <br> Moved createEmptyConfig() into ConfigManager
124
Release
1.0.0
fabric · rd-132211, rd-132328, rd-20090515 · 22mo ago
* Initial Release
138

Comments 0

No comments yet. Be the first to share your thoughts.

Download FConfigLib

Files are served directly from the original source. Modgrid does not host or modify them.