Acerca del mod Cryonic Config

- Herramienta de configuración fácil de portar entre versiones con dependencias mínimas
- Enfocada específicamente en la facilidad de uso y la portabilidad
- Cryonic porque es genial como el infierno
Explicación de la funcionalidad
- Esto almacenará jsons en {minecraftdir}/config como "modid.json"
- Todos los archivos de configuración serán leídos por diccionario en "cryonicconfig.json" en la inicialización temprana
- Las configuraciones solo se pueden configurar editando los jsons directamente, no hay planes de una configuración con GUI
- Para facilitar la portabilidad, las variables sincronizadas se envían directamente a un jugador en el chat, y se interceptan
- Se usan Hashmaps para buscar Str a ConfigStorage y Str a Obj (variable)
API
Groovy (build.gradle) Añadir dependencia
Añadir Maven:
repositories { maven { url "https://api.modrinth.com/maven" } }
Modern/Architectury: Para solo fabric o neoforge, reemplaza ${project.name} con fabric,forge,neoforge
dependencies { modImplementation "maven.modrinth:cryonicconfig:fabric-${project.name}:1.0.0+mc${rootProject.minecraftversion}" }
b1.7.3:
dependencies { modImplementation "maven.modrinth:cryonicconfig:babric:1.0.0+mcb1.7.3" }
Uso simple:
// Puedes almacenar o usar sobre la marcha, esto se puede llamar en cualquier lugar ConfigStorage config = CryonicConfig.getConfig("modid"); // Puedes almacenar ints, doubles, booleans y strings // Al obtenerlos, también estás estableciendo su valor predeterminado // formato del getter (nombre de variable, valor predeterminado) // ¡No puedes reutilizar nombres de variables! Serán sobrescritos. config.getInt("varName", 3); config.getDouble("name", 3.3); config.getBoolean("var", true); config.getString("str", "Geronimo!") // La variable existirá localmente en el cliente y el servidor // Si quieres que un jugador conectado al servidor use una configuración del servidor // Debes llamar, haciendo que el cliente use el valor del servidor config.sync("varName", playerEntity); // Siéntete libre de usar este formato: CryonicConfig.getConfig("modid").getInt("varName", 3); // Puedes establecer variables manualmente, en lugar de dejar que get las genere // Esto también es útil para sobrescribir valores antiguos config.setInt("varName", 3); config.setDouble("name", 3.3); config.setBoolean("var", true); config.setString("str", "Geronimo!");
Marcar dependencia
En fabric.mod.json:
{ "depends": { "cryonicconfig": "" } }
En mods.toml/neoforge.mods.toml:
[[dependencies.cryonicconfig]] modId = "cryonicconfig" type = "required" versionRange = "[0,)"
Cómo instalar Cryonic Config
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20–26.3 on Fabric, Forge, NeoForge or Quilt automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge, NeoForge or Quilt
The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file cryonicconfig-neoforge-1.0.0+mc26.3.jar (129 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Cryonic Config should be in the list.
Versiones
Con dependencias
| Minecraft | Cargador | Archivo | Fecha | Acciones |
|---|---|---|---|---|
| 26.3 | NeoForge | [26.3] NeoForge 1.0.0129 KB | ||
| 26.3 | Fabric, Quilt | [26.3] Fabric 1.0.019.8 KB | ||
| 1.20.1 | Forge | [1.20.1] Forge 1.0.0131 KB |
FAQ
Which Minecraft versions does Cryonic Config work on?
There are files for 26.3, 1.20.1, 1.20. The newest is 26.3.
Is Cryonic Config for Forge or Fabric?
There are files for Fabric: 26.3, for Forge: 1.20–1.20.1, for NeoForge: 26.3 and for Quilt: 26.3.
Does Cryonic Config need other mods?
The author lists no required dependencies: the Fabric, Forge, NeoForge or Quilt loader is enough.
Where can I download Cryonic Config safely?
On this page: the file cryonicconfig-neoforge-1.0.0+mc26.3.jar (129 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: ac470fed16c33467342e1686d6b58bf9320b74ad.
Reseñas
Sé el primero en valorar Cryonic Config

