跳到正文

[SSCL] Smile’s Simple Config Library

作者:SmileLulz

📚 A simple toml config library for my mods

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。
Banner

 

📚 SSCL: Smile’s Simple Config Library

This is a simple toml config library I built specifically for my needs of my mods. Feel free to use it for your mods too!

Currently maintaining for 26.1, 26.2 and 26.3 branches (Fabric)

 

Features

  • TOML config files only
  • Client, server and common configs
  • Mutable config values
  • Boolean values
  • Integer values
  • Double values
  • Enum values
  • String values
  • List/array values
  • Categories
  • Comments
  • Tooltips
  • Minimum and maximum values
  • Default values
  • Reset to default
  • Config file saving
  • Automatic range comments for numeric values
  • Mod Menu support
  • Config UI with static category sections
  • Multiple config support, with tab views for each
  • Custom decimal display for double values
  • Sliders for bounded integer and double values

Check Wiki ↗ for full documentation.

Support Me

❤️ To keep my modding work ongoing, I will appreciate any amount of donation support ❤️

Latest Changes

v1.4+X.X

  • Added support for Component.translatable() in .tooltip()
  • Fixed LICENSE embedding

常见问题

[SSCL] Smile’s Simple Config Library 支持哪些 Minecraft 版本?

[SSCL] Smile’s Simple Config Library 支持 Minecraft Java 版 26.1–26.3,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

[SSCL] Smile’s Simple Config Library 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SmileLulz 的其他作品

查看全部 →