James's Config Lib
No reviews yet
A lightweight, extendable, simple config library for forge and fabric
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Works on the client or the server alone, but does more when on both.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
James's config mod is a lightweight config mod for easily adding extendible configs. There are two built-in "types" of configs: Registry configs and Setting configs. Registry configs are configs which can have any amount of objects, which will all be read into the config. Each non-primitive object in a registry config needs to specify its type. On the other hand, setting configs have a set amount of objects, each of which are a certain type. Because of this, setting configs do not need to specify types.
More To Be Written
James's config mod is a lightweight config mod for easily adding extendible configs. There are two built-in "types" of configs: Registry configs and Setting configs. Registry configs are configs which can have any amount of objects, which will all be read into the config. Each non-primitive object in a registry config needs to specify its type. On the other hand, setting configs have a set amount of objects, each of which are a certain type. Because of this, setting configs do not need to specify types.
Developer Docs- Ignore if you are a user
Depending on using maven
Adding The Repository
I am using modrinth maven to host these files (too lazy to set up a proper maven repo lol). To add it, add this to your repositories block in your build.gradle:
repositories {
maven {
name = "Modrinth Maven"
url = "https://api.modrinth.com/maven"
}
}
Adding the dependency
To add the dependency, add this to the dependencies block in your build.gradle:
dependencies {
implementation(fg.deobf("maven.modrinth:config-lib:VERSION-MODLOADER"))
}
Version is the version of the lib (e.g 1.2) and loader is the loader (for fabric and quilt, this is fabric, for forge and neoforge, this is forge)
Making Your first config
To make your first config, look at the common/src/main/java/net/vakror/jamesconfig/config/example directory. this is where examples are placed.
There are examples for both registry config and setting configs.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers