Cryonic Config
Modby slainlite
Chill Minimal Config API
Type
Mod
CurseForge Downloads
16,439,445
CurseForge ID
1208896
Modrinth Downloads
878,656
Modrinth ID
oEhQIkOs
Last Updated
Jul 27, 2026
Description
# 
- Cross-version easy to port config tool with minimal dependencies
- Specifically targeting ease of use and portability
- Cryonic because it's cool as hell
# Explanation of Functionality
- This will store jsons in {minecraft_dir}/config as "mod_id.json"
- All config files will be read by dictionary in "cryonicconfig.json" on early init
- Configs are only configurable by editing the jsons directly, no plans of GUI config
- For ease of portability, synced variables are sent directly to a player in chat, and intercepted
- Hashmaps are used to look up Str to ConfigStorage and Str to Obj (variable)
# API
## Groovy (build.gradle) Add Dependency
Add Maven:
```groovy
repositories {
maven { url "https://api.modrinth.com/maven" }
}
```
Modern/Architectury:
For only fabric or neoforge, replace `${project.name}` with `fabric`,`forge`,`neoforge`
```groovy
dependencies {
modImplementation "maven.modrinth:cryonicconfig:fabric-${project.name}:1.0.0+mc${rootProject.minecraft_version}"
}
```
b1.7.3:
```groovy
dependencies {
modImplementation "maven.modrinth:cryonicconfig:babric:1.0.0+mcb1.7.3"
}
```
## Simple Usage:
```java
// You can store or use on the fly, this can be called anywhere
ConfigStorage config = CryonicConfig.getConfig("mod_id");
// You can store ints, doubles, booleans, and strings
// By getting them, you are setting their default value too
// getter format (variable name, default value)
// You cannot reuse variable names! They will be overridden.
config.getInt("varName", 3);
config.getDouble("name", 3.3);
config.getBoolean("var", true);
config.getString("str", "Geronimo!")
// The variable will exist locally on client and server
// If you want a connected server player to use a server config
// You must call, making client use the server's value
config.sync("varName", playerEntity);
// Feel free to use this format:
CryonicConfig.getConfig("mod_id").getInt("varName", 3);
// You can set variables manually, instead of letting get generate them
// This is also useful for overriding old values
config.setInt("varName", 3);
config.setDouble("name", 3.3);
config.setBoolean("var", true);
config.setString("str", "Geronimo!");
```
## Mark Dependency
In `fabric.mod.json`:
```json
{
"depends": {
"cryonicconfig": "*"
}
}
```
In `mods.toml`/`neoforge.mods.toml`:
```toml
[[dependencies.cryonicconfig]]
modId = "cryonicconfig"
type = "required"
versionRange = "[0,)"
```
Compatibility
Mod Loaders
Babric
Fabric
Forge
Neoforge
Quilt
Game Versions
b1.7.3
1.18
1.18.1
1.18.2
1.19
1.19.1
1.19.2
1.19.3
1.19.4
1.20
+18 more
Screenshots
Similar Mods
Thermal Foundation
The Foundation of a Thermally Expanding World!
Mod
173,139,047
OpenBlocks Elevator
Port of OpenBlocks Elevator.
Mod
172,673,988
Embeddium
A powerful, mod-friendly, FOSS client performance mod for NeoForge
Mod
172,418,374
Simple Voice Chat
A working voice chat in Minecraft!
Mod
171,767,014
Botania
An innovative natural magic themed tech mod
Mod
171,004,266
Cucumber Library
A library of shared code and functionality used by my mods.
Mod
169,698,859
Included in Modpacks
Ultra Turbio
MakeShift
Trusted Modded
Cogwork Continuum
Destiny's Kitchen Sink
The Solar Apocalypse
Leos fantastiska modpaket
ImAcidicSMP Modpack
CARCHcraft
COBBLEPOKEMON
Create: SatisFactory
CatzyCraft
Redstone Witch [Lite]
Explorerflotte Create
Technical Electrical
GeoRail
Shady's Heropack
TPW: Redux
New Worlds Geopol
Depressed_Rabbit's FNAF pack
CobbleHelx Modpack (Cobblemon)
MC Sooty Edition
Volormon
Mundo Mods Reforged
Create Zerene
Chill&Stay
Cozy Visuals
Full Scale
BerryGals World
Nugget Medieval
Titanroot Skies
Immersive Beauty
Goober_cave_modpack
Blue Moon SMP
NeoLand
Sensible MC
IOOMNI 8
Glatzencraft