{"id":29887656,"url":"https://github.com/smootheez/scl","last_synced_at":"2026-05-16T22:02:51.972Z","repository":{"id":280084549,"uuid":"940917678","full_name":"Smootheez/scl","owner":"Smootheez","description":"Minecraft config library for all of Smootheez's mods","archived":false,"fork":false,"pushed_at":"2025-07-30T04:57:56.000Z","size":557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-08-08T07:33:44.429Z","etag":null,"topics":["fabric-mod","fabricmc","minecraft","minecraft-client","minecraft-mod"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Smootheez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-01T03:50:20.000Z","updated_at":"2025-07-29T16:41:24.000Z","dependencies_parsed_at":"2025-04-06T04:18:40.827Z","dependency_job_id":"3b5e6d32-82ad-46c9-89f4-72af5ea6aed6","html_url":"https://github.com/Smootheez/scl","commit_stats":null,"previous_names":["smootheez/scl"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Smootheez/scl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smootheez%2Fscl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smootheez%2Fscl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smootheez%2Fscl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smootheez%2Fscl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smootheez","download_url":"https://codeload.github.com/Smootheez/scl/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smootheez%2Fscl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33120450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fabric-mod","fabricmc","minecraft","minecraft-client","minecraft-mod"],"created_at":"2025-07-31T19:00:40.853Z","updated_at":"2026-05-16T22:02:51.955Z","avatar_url":"https://github.com/Smootheez.png","language":"Java","funding_links":["https://ko-fi.com/smootheez","https://paypal.me/smootheez"],"categories":[],"sub_categories":[],"readme":"# 📦 Smootheez Config Lib (SCL)\n\nA utility mod designed to simplify configuration handling for Minecraft modding.  \nPrimarily developed for my own mods, but freely available for public use.\n\n---\n\n## ❓ What is SCL?\n\n**Smootheez Config Lib (SCL)** provides an easier and cleaner way to manage configurations for Minecraft mods.  \nIt removes boilerplate and offers a simple interface for:\n\n- ✅ Config file management\n- 🛠️ Automatic config screen generation\n- ⚙️ Automatic config file generation\n\n---\n\n## 🖼️ In-Game Previews\n\n### 🔧 Standard Config Screen\n![Config Preview](https://raw.githubusercontent.com/Smootheez/scl/refs/heads/dev/assets/image/list_option.png)\n\n### 📝 Config Screen with Descriptions\n![With Description](https://raw.githubusercontent.com/Smootheez/scl/refs/heads/dev/assets/image/list_option_with_description.png)\n\n### 🗂️ Edit Value in `OptionList`\n![Edit List](https://raw.githubusercontent.com/Smootheez/scl/refs/heads/dev/assets/image/edit_list_screen.png)\n\n### ➕ Add Value to `OptionList`\n![Add Value](https://raw.githubusercontent.com/Smootheez/scl/refs/heads/dev/assets/image/add_value_screen.png)\n\n### ❗ Confirmation Screen\n![Confirmation](https://raw.githubusercontent.com/Smootheez/scl/refs/heads/dev/assets/image/confirmation_screen.png)\n\n---\n\n## 🚀 Getting Started\n\n### 🏗️ Step 1 – Add Repository\n\nIn your `build.gradle`:\n```groovy\nrepositories {\n    maven {\n        url \"https://jitpack.io\"\n    }\n}\n```\n\n---\n\n### 📦 Step 2 – Add Dependency\n\nUsing version from `gradle.properties`:\n\n```groovy\ndependencies {\n    modImplementation \"com.github.smootheez:scl:${project.scl_version}\"\n}\n```\n\nOr use the version directly:\n\n```groovy\ndependencies {\n    modImplementation \"com.github.smootheez:scl:[version]\"\n}\n```\n\n---\n\n## 💡 Example Usage\n\n### 🧱 Step 1 – Create a Config Class\n\n```java\n@Config(name = \"example_config\", gui = true)\npublic class ExampleConfig {\n    public static final ConfigOption\u003cInteger\u003e INT_TEXT = ConfigOption.create(\"intText\", 0, -5, 100);\n    public static final ConfigOption\u003cDouble\u003e DOUBLE_TEXT = ConfigOption.create(\"doubleText\", 0.0, 0.0, 2.0);\n    public static final ConfigOption\u003cInteger\u003e INT_SLIDER = ConfigOption.create(\"intSlider\", 0, -5, 100).asSlider();\n    public static final ConfigOption\u003cDouble\u003e DOUBLE_SLIDER = ConfigOption.create(\"doubleSlider\", 0.0, 0.0, 2.0).asSlider();\n    public static final ConfigOption\u003cDouble\u003e DOUBLE_SLIDER_PERCENTAGE = ConfigOption.create(\"doubleSliderPercentage\", 0.0, 0.0, 2.0).asSliderPercentage();\n    public static final ConfigOption\u003cBoolean\u003e BOOLEAN = ConfigOption.create(\"boolean\", false);\n    public static final ConfigOption\u003cOptionList\u003e LIST = ConfigOption.create(\"list\", \"example_value_1\", \"example_value_2\", \"example_value_3\");\n    public static final ConfigOption\u003cExampleEnum\u003e ENUM = ConfigOption.create(\"enum\", ExampleEnum.EXAMPLE_VALUE_1);\n}\n```\n\n---\n\n### 🧩 Step 2 – Register the Config\n\nIn your `fabric.mod.json`:\n\n```json\n\"entrypoints\": {\n    // ...existing entrypoints\n    \"scl\": [\n        \"dev.smootheez.scl.example.ExampleConfig\"\n    ]\n}\n```\n\n✅ That's it!\nSCL will automatically generate:\n\n* The config file\n* The config screen (requires `ModMenu`)\n\n📌 **Note:**\nThe config screen will only be generated if:\n\n* `gui = true` is set\n* The config `name` matches your mod ID\n\n---\n\n## 📥 Download\n\n* 🔗 [Modrinth](https://modrinth.com/mod/smootheez-config-lib)\n* 🔗 [CurseForge](https://www.curseforge.com/minecraft/mc-mods/smootheez-config-lib)\n* 📦 [JitPack Releases](https://jitpack.io/#Smootheez/scl)\n\n[![](https://jitpack.io/v/Smootheez/scl.svg)](https://jitpack.io/#Smootheez/scl)\n\n---\n\n## 🐞 Issue Tracker\n\nFound a bug or have a feature suggestion?\u003cbr\u003e\nSubmit an issue here: [**GitHub Issues**](https://github.com/Smootheez/scl/issues)\n\n---\n\n## ⚠️ Important Notes\n\n* ✅ Compatible with Minecraft **1.20.1+**\n* 📜 Licensed under the **MIT License**\n\n---\n\n## ☕ Support Me\n\nIf you find this project helpful and want to support my work, consider donating:\n\n[![ko-fi](https://raw.githubusercontent.com/Smootheez/Smootheez/7b16ed55570e49b9320e9cade5e572b271e9f1fe/assets/donation-kofi.svg)](https://ko-fi.com/smootheez)\n[![paypal](https://raw.githubusercontent.com/Smootheez/Smootheez/7b16ed55570e49b9320e9cade5e572b271e9f1fe/assets/donation-paypal.svg)](https://paypal.me/smootheez)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmootheez%2Fscl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmootheez%2Fscl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmootheez%2Fscl/lists"}