ZConfig
Modby zenxarch
A mixin config mod with override loading from other mods
Type
Mod
CurseForge Downloads
96,973
CurseForge ID
1632946
Modrinth Downloads
436,415
Modrinth ID
4qmvXRB9
Last Updated
Oct 1, 2026
Description
Why does this project exist?
This is a general purpose config mod slightly based on c2me's internal config system. This also lets me reduce zfastnoise's size to a few dozen kilobytes and users only have to download the config mod once.
Features
- Toml based config files
- boolean and int based config entries
- allow other mods to override config entries using mod metadata
- mark mods as incompatible with certain config entries
For example, fabric.mod.json
{ ... "custom": { "zfastnoise:overrides" : "mixin.perf.surface" } }The above disables mixin.perf.surface config option
Future plans
- add support for modmenu/forge config api
- add neoforge builds
- add more sugar to easily generate config
Example config
package org.codeberg.zenxarch.zconfig.test; import org.codeberg.zenxarch.zconfig.entry.BooleanConfigEntry; import org.codeberg.zenxarch.zconfig.entry.ConfigEntries; import org.codeberg.zenxarch.zconfig.entry.IntConfigEntry; import org.codeberg.zenxarch.zconfig.loader.Config; import org.codeberg.zenxarch.zconfig.loader.ConfigLoader; import org.codeberg.zenxarch.zconfig.loader.OverrideCollector; import org.junit.jupiter.api.Test; public class ExampleConfig extends ConfigEntries { public static final ExampleConfig INSTANCE = new ExampleConfig(); public static final BooleanConfigEntry MAIN = INSTANCE.createEntry( "main", builder -> builder.addComment("Main entry").defaultValue(false).addIncompat("sodium")); public static final IntConfigEntry OTHER = INSTANCE.createIntEntry( "other", builder -> builder.addComment("Other entry").defaultValue(0).constraints(-1, 1)); public static final Config CONFIG = new Config( new ConfigLoader("example_mod_id", INSTANCE), new OverrideCollector("example_mod_id")); @Test public void loadConfig() { IO.println(CONFIG.get(MAIN)); IO.println(CONFIG.get(OTHER)); IO.println(CONFIG.loadMixinEntries()); } }Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Hole Filler Mod
Automatically Fills in Holes!
More Delight (Forge & Neoforge)
Extra meals, knives, and ingredients for Farmer's Delight that improve your culinary experience.
Workshops of Doom
A forge mod that adds additional illager-themed structures
Weapon Throw
Throw your Axes or Swords!
Exclusive Weapons, Armor and Tools
This mod adds a set of upgraded weapons, tools, and armor using the new Super Ore Blocks introduced by SuperOreBlock.
Plants
Experience the natural world; of reality, and fiction.
Included in Modpacks (44)
Show fewer
Sodium Plus
Remarkably Optimized
XPlus PerioTable Modpack (Fabric)
Pojavly Optimized
Simply Optimized & Up to Date
香草精华 Vanilla Essence
OptimizationHyperN
Ultimate FPS
Mojo Optimized
WindBreaker
ContentCreatorsTool
Pix Android Boost
QoL Client
Beautifully Optimized
Amethyst Optimized
Chunky Optimizations
Logically Optimized
SimplyVanilla
duziy's PvP Optimized
BACAPtimized
BasicPackage
Optimize My Server!
Essência Mods
Sengoku Chronicles
Verbesserung
Vulkanium
Endo Vanilla
Slightly Vanilla
True Performance
Llohgun's Lodgings
Sestain's Optimizations
Strictly Optimized
Mesh Shaded
OneClient (SkyBlock)
Virimon
Pervenience
Minimalstic skyblock
Revision
kraizipack
MercuryFPS
Liye
Expanded Adventures: Vanilla+
Just Rat's Modpack