
Smootheez Config Lib
Config library mod for all of my mods
Обновлён 30 июля 2025 г. · опубликован 23 сентября 2024 г.
📦 Smootheez Config Lib (SCL)
A utility mod designed to simplify configuration handling for Minecraft modding.
Primarily developed for my own mods, but freely available for public use.
❓ What is SCL?
Smootheez Config Lib (SCL) provides an easier and cleaner way to manage configurations for Minecraft mods.
It removes boilerplate and offers a simple interface for:
- ✅ Config file management
- 🛠️ Automatic config screen generation
- ⚙️ Automatic config file generation
🖼️ In-Game Previews
🔧 Standard Config Screen

📝 Config Screen with Descriptions

🗂️ Edit Value in OptionList

➕ Add Value to OptionList

❗ Confirmation Screen

🚀 Getting Started
🏗️ Step 1 – Add Repository
In your build.gradle:
repositories {
maven {
url "https://jitpack.io"
}
}
📦 Step 2 – Add Dependency
Using version from gradle.properties:
dependencies {
modImplementation "com.github.smootheez:scl:${project.scl_version}"
}
Or use the version directly:
dependencies {
modImplementation "com.github.smootheez:scl:[version]"
}
💡 Example Usage
🧱 Step 1 – Create a Config Class
@Config(name = "example_config", gui = true)
public class ExampleConfig {
public static final ConfigOption<Integer> INT_TEXT = ConfigOption.create("intText", 0, -5, 100);
public static final ConfigOption<Double> DOUBLE_TEXT = ConfigOption.create("doubleText", 0.0, 0.0, 2.0);
public static final ConfigOption<Integer> INT_SLIDER = ConfigOption.create("intSlider", 0, -5, 100).asSlider();
public static final ConfigOption<Double> DOUBLE_SLIDER = ConfigOption.create("doubleSlider", 0.0, 0.0, 2.0).asSlider();
public static final ConfigOption<Double> DOUBLE_SLIDER_PERCENTAGE = ConfigOption.create("doubleSliderPercentage", 0.0, 0.0, 2.0).asSliderPercentage();
public static final ConfigOption<Boolean> BOOLEAN = ConfigOption.create("boolean", false);
public static final ConfigOption<OptionList> LIST = ConfigOption.create("list", "example_value_1", "example_value_2", "example_value_3");
public static final ConfigOption<ExampleEnum> ENUM = ConfigOption.create("enum", ExampleEnum.EXAMPLE_VALUE_1);
}
🧩 Step 2 – Register the Config
In your fabric.mod.json:
"entrypoints": {
// ...existing entrypoints
"scl": [
"dev.smootheez.scl.example.ExampleConfig"
]
}
✅ That's it! SCL will automatically generate:
- The config file
- The config screen (requires
ModMenu)
📌 Note: The config screen will only be generated if:
gui = trueis set- The config
namematches your mod ID
📥 Download
🐞 Issue Tracker
Found a bug or have a feature suggestion?
Submit an issue here: GitHub Issues
⚠️ Important Notes
- ✅ Compatible with Minecraft 1.20.1+
- 📜 Licensed under the MIT License
☕ Support Me
If you find this project helpful and want to support my work, consider donating:
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 0.2.2-1.20.2 | Релиз | 1.20.2 | fabric | 30 июля 2025 г. | .jar (75 КБ) |
| 0.2.1-1.21.6 | Релиз | 1.21.6, 1.21.7, 1.21.8 | fabric | 15 июля 2025 г. | .jar (146 КБ) |
| 0.2.0-1.21.6 | Релиз | 1.21.6, 1.21.7, 1.21.8 | fabric | 15 июля 2025 г. | .jar (147 КБ) |
| 0.1.9-1.20.5 | Релиз | 1.21.2, 1.21.3, 1.21.4, 1.21.5 | fabric | 13 июля 2025 г. | .jar (146 КБ) |
| 0.1.8-1.20.3 | Релиз | 1.20.3, 1.20.4 | fabric | 13 июля 2025 г. | .jar (146 КБ) |
| 0.1.7-1.20.2 | Релиз | 1.20.2 | fabric | 13 июля 2025 г. | .jar (75 КБ) |
| 0.1.6-1.20.1 | Релиз | 1.20.1 | fabric | 8 июля 2025 г. | .jar (75 КБ) |
| 0.1.5-1.20.5 | Релиз | 1.21.2, 1.21.3, 1.21.4, 1.21.5 | fabric | 12 апреля 2025 г. | .jar (131 КБ) |
| 0.1.4-1.20.3 | Релиз | 1.20.3, 1.20.4 | fabric | 11 апреля 2025 г. | .jar (131 КБ) |
| 0.1.3-1.20.2 | Релиз | 1.20.2 | fabric | 8 апреля 2025 г. | .jar (131 КБ) |
| 0.1.2-1.20.2 | Релиз | 1.20.2 | fabric | 6 апреля 2025 г. | .jar (131 КБ) |
| 0.1.1-1.20.1 | Релиз | 1.20.1, 1.20.2 | fabric | 7 марта 2025 г. | .jar (56 КБ) |
| 0.0.9 | Релиз | 1.21.1, 1.21.2, 1.21.3, 1.21.4 | fabric | 25 сентября 2024 г. | .jar (119 КБ) |
| 0.0.8 | Релиз | 1.20.5, 1.20.6 | fabric | 24 сентября 2024 г. | .jar (119 КБ) |
| 0.0.7 | Релиз | 1.20.4 | fabric | 23 сентября 2024 г. | .jar (119 КБ) |
Ченджлог
0.2.2-1.20.2Релиз1.20.2 · 30 июля 2025 г.
- Crash fix
0.2.1-1.21.6Релиз1.21.6, 1.21.7, 1.21.8 · 15 июля 2025 г.
- Remove unnecessary config screen
0.2.0-1.21.6Релиз1.21.6, 1.21.7, 1.21.8 · 15 июля 2025 г.
- Rewrite the mapping from yarn into mojang mapping
- Now have back and save & exit button
- Add confirmation screen
- Rearange the title and the search bar
- Support slider for integer and double value
- Fix some bugs
0.1.9-1.20.5Релиз1.21.3, 1.21.4, 1.21.5 · 13 июля 2025 г.
- Rewrite the mapping from yarn into mojang mapping
- Now have back and save & exit button
- Add confirmation screen
- Rearange the title and the search bar
- Support slider for integer and double value
- Fix some bugs
0.1.8-1.20.3Релиз1.20.3, 1.20.4 · 13 июля 2025 г.
- Rewrite the mapping from yarn into mojang mapping
- Now have back and save & exit button
- Add confirmation screen
- Rearange the title and the search bar
- Support slider for integer and double value
- Fix some bugs
0.1.7-1.20.2Релиз1.20.2 · 13 июля 2025 г.
- Rewrite the mapping from yarn into mojang mapping
- Now have back and save & exit button
- Add confirmation screen
- Rearange the title and the search bar
- Support slider for integer and double value
- Fix some bugs
0.1.6-1.20.1Релиз1.20.1 · 8 июля 2025 г.
- Rewrite the mapping from yarn into mojang mapping
- Now have back and save & exit button
- Add confirmation screen
- Rearange the title and the search bar
- Support slider for integer and double value
- Fix some bugs
0.1.5-1.20.5Релиз1.21.3, 1.21.4, 1.21.5 · 12 апреля 2025 г.
- Updated from 1.20.3 into 1.20.5-1.21.5
Полная история изменений — на Modrinth.
Комментарии
Загружаем…