
FConfigLib
Version-independent configuration library for Fabric Mod Loader
Автор: ForwarD-NerN57,1 тыс.15обновлён 3 янв. 2025 г.
Утилиты
Описание
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.
Последние версии
Все версии →release
FConfigLib 1.1.1
1.1.13 янв. 2025 г.56,3 тыс.Minecraft: rd-132211, rd-132328, rd-20090515, rd-160052, rd-161348, c0.0.11a, c0.0.13a_03, c0.0.13a, c0.30_01c, inf-20100618, a1.0.4, a1.0.5_01, a1.0.11, a1.0.14, a1.0.15, a1.0.16, a1.0.17_02, a1.0.17_04, a1.1.0, a1.1.2, a1.1.2_01, a1.2.0, a1.2.0_01, a1.2.0_02, a1.2.1, a1.2.1_01, a1.2.2a, a1.2.2b, a1.2.3, a1.2.3_01, a1.2.3_02, a1.2.3_04, a1.2.4_01, a1.2.5, a1.2.6, b1.0, b1.0_01, b1.0.2, b1.1_01, b1.1_02, b1.2, b1.2_01, b1.2_02, b1.3b, b1.3_01, b1.4, b1.4_01, b1.5, b1.5_01, b1.6, b1.6.1, b1.6.2, b1.6.3, b1.6.4, b1.6.5, b1.6.6, b1.7, b1.7.2, b1.7.3, b1.8, b1.8.1, 1.0, 1.1, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21-pre1, 1.21-pre2, 1.21-pre3, 1.21-pre4, 1.21-rc1, 1.21, 1.21.1-rc1, 1.21.1, 1.21.2-pre1, 1.21.2-pre2, 1.21.2-pre3, 1.21.2-pre4, 1.21.2-pre5, 1.21.2-rc1, 1.21.2-rc2, 1.21.2, 1.21.3, 1.21.4-pre1, 1.21.4-pre2, 1.21.4-pre3, 1.21.4-rc1, 1.21.4-rc2, 1.21.4-rc3, 1.21.4, 1.21.5-pre1, 1.21.5-pre2, 1.21.5-pre3, 1.21.5-rc1, 1.21.5-rc2, 1.21.5, 1.21.6-pre1, 1.21.6-pre2, 1.21.6-pre3, 1.21.6-pre4, 1.21.6-rc1, 1.21.6, 1.21.7-rc1, 1.21.7-rc2, 1.21.7, 1.21.8-rc1, 1.21.8, 25w36b, 25w37a, 1.21.9-pre1, 1.21.9-pre2, 1.21.9-pre3, 1.21.9-pre4, 1.21.9-rc1, 1.21.9, 1.21.10-rc1, 1.21.10, 25w41a, 25w42a, 25w43a, 25w44a, 25w45a, 25w46a, 1.21.11-pre1, 1.21.11-pre2, 1.21.11-pre3, 1.21.11-pre4, 1.21.11-pre5, 1.21.11-rc1, 1.21.11-rc2, 1.21.11-rc3, 1.21.11, 26.1-snapshot-1, 26.1-snapshot-2, 26.1-snapshot-3, 26.1-snapshot-4, 26.1-snapshot-5, 26.1-snapshot-6, 26.1-snapshot-7, 26.1-snapshot-8, 26.1-snapshot-9, 26.1-snapshot-10, 26.1-snapshot-11, 26.1-pre-1, 26.1-pre-2, 26.1-pre-3, 26.1-rc-1, 26.1-rc-2, 26.1-rc-3, 26.1, 26.1.1-rc-1, 26.1.1, 26w14a, 26.2-snapshot-1, 26.1.2-rc-1, 26.1.2, 26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4, 26.2-pre-5, 26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2, 26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6, 26.3-snapshot-7, 26.3-snapshot-8, 26.3-snapshot-9, 26.3-snapshot-10, 26.3-pre-1, 26.3-pre-2, 26.3-pre-3, 26.3-rc-1, 26.3-rc-2, 26.3-rc-3, 26.3, 26.4-snapshot-1, 26.4-snapshot-2, 26.4-snapshot-3fabric
Что нового
* Added ConfigManager.save() short for ConfigManager.save(this.getConfigFile())
* Made the ConfigManager constructor protected
applyFixes() -> applyFixers()
* OptionValidator has been deprecated in favor of FieldValidator
release
FConfigLib 1.1.0
1.1.027 авг. 2024 г.407Minecraft: rd-132211, rd-132328, rd-20090515, rd-160052, rd-161348, c0.0.11a, c0.0.13a_03, c0.0.13a, c0.30_01c, inf-20100618, a1.0.4, a1.0.5_01, a1.0.11, a1.0.14, a1.0.15, a1.0.16, a1.0.17_02, a1.0.17_04, a1.1.0, a1.1.2, a1.1.2_01, a1.2.0, a1.2.0_01, a1.2.0_02, a1.2.1, a1.2.1_01, a1.2.2a, a1.2.2b, a1.2.3, a1.2.3_01, a1.2.3_02, a1.2.3_04, a1.2.4_01, a1.2.5, a1.2.6, b1.0, b1.0_01, b1.0.2, b1.1_01, b1.1_02, b1.2, b1.2_01, b1.2_02, b1.3b, b1.3_01, b1.4, b1.4_01, b1.5, b1.5_01, b1.6, b1.6.1, b1.6.2, b1.6.3, b1.6.4, b1.6.5, b1.6.6, b1.7, b1.7.2, b1.7.3, b1.8, b1.8.1, 1.0, 1.1, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1fabric
Что нового
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
release
FConfigLib 1.0.1
1.0.116 авг. 2024 г.222Minecraft: rd-132211, rd-132328, rd-20090515, rd-160052, rd-161348, c0.0.11a, c0.0.13a_03, c0.0.13a, c0.30_01c, inf-20100618, a1.0.4, a1.0.5_01, a1.0.11, a1.0.14, a1.0.15, a1.0.16, a1.0.17_02, a1.0.17_04, a1.1.0, a1.1.2, a1.1.2_01, a1.2.0, a1.2.0_01, a1.2.0_02, a1.2.1, a1.2.1_01, a1.2.2a, a1.2.2b, a1.2.3, a1.2.3_01, a1.2.3_02, a1.2.3_04, a1.2.4_01, a1.2.5, a1.2.6, b1.0, b1.0_01, b1.0.2, b1.1_01, b1.1_02, b1.2, b1.2_01, b1.2_02, b1.3b, b1.3_01, b1.4, b1.4_01, b1.5, b1.5_01, b1.6, b1.6.1, b1.6.2, b1.6.3, b1.6.4, b1.6.5, b1.6.6, b1.7, b1.7.2, b1.7.3, b1.8, b1.8.1, 1.0, 1.1, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1fabric
Что нового
Added isInitialized() <br>
Moved createEmptyConfig() into ConfigManager
release
FConfigLib 1.0.0
1.0.014 авг. 2024 г.247Minecraft: rd-132211, rd-132328, rd-20090515, rd-160052, rd-161348, c0.0.11a, c0.0.13a_03, c0.0.13a, c0.30_01c, inf-20100618, a1.0.4, a1.0.5_01, a1.0.11, a1.0.14, a1.0.15, a1.0.16, a1.0.17_02, a1.0.17_04, a1.1.0, a1.1.2, a1.1.2_01, a1.2.0, a1.2.0_01, a1.2.0_02, a1.2.1, a1.2.1_01, a1.2.2a, a1.2.2b, a1.2.3, a1.2.3_01, a1.2.3_02, a1.2.3_04, a1.2.4_01, a1.2.5, a1.2.6, b1.0, b1.0_01, b1.0.2, b1.1_01, b1.1_02, b1.2, b1.2_01, b1.2_02, b1.3b, b1.3_01, b1.4, b1.4_01, b1.5, b1.5_01, b1.6, b1.6.1, b1.6.2, b1.6.3, b1.6.4, b1.6.5, b1.6.6, b1.7, b1.7.2, b1.7.3, b1.8, b1.8.1, 1.0, 1.1, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1fabric
Что нового
* Initial Release