ConfigLib TXF mod
A powerful & lightweight config library for Minecraft mods
Main features:
Automatic Config Screen: A ready-to-use GUI with tabs, categories, and a reset button on every field
JSON5 Config Files: Human-friendly config files with auto-generated comments showing defaults, ranges, and allowed values
Rich Widgets: Toggles, sliders, cycle buttons, color picker, file/directory chooser, and item/block icon preview
Real-Time Editing: Changes apply instantly while editing, with per-field validation (min/max, regex) and visual feedback
Server Sync: Seamlessly syncs selected fields from server to clients in multiplayer, keeping gameplay consistent
Multiple Configs: Split a mod's settings across several files with an automatic hub screen for navigation
Full Translation Support: Every label, tooltip, tab, and enum value can be translated through the standard language files
Fabric/Quilt dependencies:
- Mod Menu mod (Optional)
Dependency (Maven Central)
repositories {
mavenCentral()
}
dependencies {
// Fabric
implementation 'io.github.jahirxtrap:configlibtxf:TAG-fabric'
// Forge
implementation 'io.github.jahirxtrap:configlibtxf:TAG-forge'
// NeoForge
implementation 'io.github.jahirxtrap:configlibtxf:TAG-neoforge'
}
Replace TAG with the version you want (e.g. 26.1.2-2.0.0).
Usage
// initialize config
TXFConfig.init(MODID, ModConfig.class); How to Install ConfigLib TXF (Mod)
ConfigLib TXF by jahirtrap is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20, 1.20.1, 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1, 26.1.2 (latest release: 26.3-2.0.5-forge, file size: 68 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1, 26.1.2) and platform (Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
- Move the downloaded ConfigLib TXF file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 |
- Update to 26.3
- Update to 26.3
- Update to 26.3
- Update to 26.2
- Update to 26.2
- Update to 26.2
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button
- Fixed clients being unable to join servers (or vanilla servers) that don't have the library installed: the config sync channel is now optional on both sides
- Fixed the library's own config screen not opening from Mod Menu
- Fixed-size lists now hide the add button and replace the remove button with a per-element reset button