HomeJavaModsConfigLib TXF
ConfigLib TXF
ModsJava

ConfigLib TXF

by jahirtrap · on Modrinth

ConfigLib TXF mod A powerful & lightweight config library for Minecraft mods Main features: Automatic Config Screen: A ready-to-use GUI with tabs…

⬇ Download on Modrinth
ConfigLib TXF — screenshot 1

ConfigLib TXF mod

CurseForge downloads Modrinth downloads Maven Central Ask DeepWiki

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:

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);
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more