Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 6 months ago
Updated 2 months ago
This Config API is based on the NightConfig Library and is very basic. It doesn't have fancy Features, simply create Config Files and save your values in it.
It is downloadable on Curseforge and Modrinth.
This API is basically Simple Config API but renamed to fit my other Mods and with more Features and Datatypes.
Features:
- Save different Datatypes
- Primitive: Integer, Double, String, Boolean
- Reference: List, ArrayList, LinkedList
- Values and Categories can be commented
- Values can be defined in Range
- Custom Config Path
- Designed for Multi-Loader Projects
- Autocorrection of invalid or corrupt Config Values
Planned:
- Support more Datatypes
- Translatable Comments
- will be defined through the lang file
For Developer:
Latest Version: 1.20-1.2.0
Available for:
- Fabric 1.20 -> latest
- Forge 1.20 -> latest (will eventually be dropped with 1.21)
- NeoForge 1.20.4 -> latest
Note:
- Float, Long, Short, Byte and Char can't be supported due to parsing incompatibilities.
- Quilt will not get a dedicated version, use the Fabric Version instead.
Adding Resource Config API to your Project
repositories {
maven {
name = "xStopho Mods"
url = "https://raw.githubusercontent.com/Stein-N/resources/main/maven"
}
}
When you want to use this API in a Quilt Project u have to use the Fabric version.
dependencies {
implementation "xstopho.resource-config-api:resource-config-api-common:{major_minecraft_version}+{api_version}"
implementation "xstopho.resource-config-api:resource-config-api-fabric:{major_minecraft_version}+{api_version}"
implementation "xstopho.resource-config-api:resource-config-api-forge:{major_minecraft_version}+{api_version}"
implementation "xstopho.resource-config-api:resource-config-api-neoforge:{major_minecraft_version}+{api_version}"
}