ConfigAnytime logo

ConfigAnytime

Mod

by CleanroomMC

Allows Forge configurations to be setup at any point in time

Downloads

3,011,265

Type

Mod

CurseForge ID

870276

Last Updated

Apr 9, 2026

Description

ConfigAnytime


Allows Forge configurations to be setup at any point in time. Especially for developers that use Forge's configuration system during coremod/tweaker's loading stage.

Dev Usage:

- Add CleanroomMC's repository and depend on ConfigAnytime's maven entry:

repositories { maven { url 'https://maven.cleanroommc.com' } } <br>dependencies {<br> implementation 'com.cleanroommc:configanytime:1.0' }

 

- Example API Usage:

@Config(modid = "configanytime")
public class ConfigClass {

    public static boolean configBooleanProperty = true;
    public static int configIntProperty = 42;

    // Static initializers go after the properties!
    // This will run automatically when you retrieve any properties from this config class
    static {
        ConfigAnytime.register(ConfigClass.class);
    }

}
```

Similar Mods

Included in Modpacks

External Resources