YetAnotherConfigLib
又一个配置库,你还期待它是什么呢?
这个模组为什么会存在?
制作这个模组是为了填补织物(Fabric)模组开发领域的一个空白。现有的主要配置库无法满足我的期望:
- 布(Cloth)配置API:它已经停滞不前。 布的开发者已经明确表示,他们很可能不会再添加更多功能。他们不想再碰它了。
- 云杉用户界面(SpruceUI):它并非为配置而设计。 从本质上讲,其设计感觉很杂乱。此问题中有更多细节。
- OwoLib:它以内容为重点。 就像午夜库(MidnightLib)一样,它也做了很多其他事情,增加了体积。
如你所见,遗憾的是它们都有缺点,而这就是YetAnotherConfigLib的用武之地。
YACL 好在哪里?
YACL 得益于事后的经验。在开发这个全新的库时,我可以确保它把所有事情都做好:
- 它只是一个配置库。 YACL 不包含其他功能,仅用于生成配置界面。
- 它很轻量。 YACL 让你自己管理配置,它不包含自动配置(AutoConfig)或类似功能的替代品。(可以与我的另一个库 Settxi 搭配使用来实现此功能)
- 简单的API。 YACL 从钠(Sodium)的内部配置库中获取灵感。
- 它的风格与我的世界相契合。 YACL 的图形用户界面(GUI)设计得与游戏完美融合。
用法
维基百科包含关于如何使用 YACL 的完整文档。
截图
许可证
这个模组遵循 GNU 较宽松通用公共许可证 v3.0。
YetAnotherConfigLib
Yet Another Config Lib, like, what were you expecting?
Why does this mod even exist?
This mod was made to fill a hole in this area of Fabric modding. The existing main config libraries don't achieve what I want from them:
- Cloth Config API: It's stale. The developer of cloth has clarified that they are likely not going to add any more features. They don't want to touch it.
- SpruceUI: It isn't designed for configuration. In this essence the design feels cluttered. Further details available in this issue.
- OwoLib: It's content focused. Like MidnightLib, it does a lot of other things as well, adding to the size.
As you can see, there's sadly a drawback with all of them and this is where YetAnotherConfigLib comes in.
How is YACL better?
YACL has the favour of hindsight. Whilst developing this fresh library, I can make sure that it does everything right:
- It's just a config library. YACL contains no other features, just config screen generation.
- It's lightweight. YACL leaves managing your config up to you, it doesn't contain an alternative to AutoConfig or similar. (Can be paired with my other library, Settxi, for this feature)
- Easy API. YACL takes inspiration from Sodium's internal configuration library.
- It's styled to fit in Minecraft. YACL's GUI is designed to fit right in.
Usage
The wiki contains a full documentation on how to use YACL.
Screenshots
License
This mod is under the GNU Lesser General Public License, v3.0.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
阿卡迪亚的天启:天选之歌
热度 752 | 1 周前更新
机械动力:航空学 - All of Create - Aeronautics
热度 731 | 1 周前更新
天空开拓者:耕云纪元
热度 608 | 1 周前更新
更好的MC Better MC [FORGE] BMC4
热度 570 | 1 周前更新
剑痕纪元
热度 2109 | 1 周前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 3659 | 2 周前更新
机械动力:工业与牧歌 - Create: Industry and Pastoral
热度 4959 | 2 周前更新
虚饰作品-Fictional
热度 5003 | 3 周前更新
猎杀:历史 1949 - Hunt: History 1949
热度 2325 | 3 周前更新
更好的MC Better MC [NEOFORGE] BMC5
热度 2511 | 3 周前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 1126 | 3 周前更新
方块宝可梦x纪元(Cobblemon x Era)
热度 5837 | 3 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!