跳到正文

ChosenLib

作者:ChosenTechies

ChosenLib: a lightweight utility library for Fabric

收藏

截图

介绍

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

ChosenLib

ChosenLib is a lightweight utility library for Fabric that helps you build mods faster and cleaner. It provides reusable helpers, a modern entrypoint setup, and example mixins—so you can focus on your mod’s features, not boilerplate.

✨ Highlights

  • Utility Helpers: TextUtils for clean, localized messages and formatting.
  • General Utilities: Static helpers for math, string handling, and more.
  • Client Conveniences: Example keybinding registration and client-tick hook.
  • Mixin Example: Safe template to start patching game behavior.
  • Modern Toolchain: Fabric Loader, Fabric API, Java 21, Yarn mappings.
  • Developer-Friendly: Sources JAR, sensible Gradle setup, per-env source sets.

🚀 What Can You Use It For?

  • Rapidly bootstrap new Fabric mods.
  • Share common utilities across multiple projects.
  • Use the mixin template as a safe starting point for game tweaks.

📝 Notes

  • Works on both client and server unless a feature is explicitly client-only.
  • Icon and metadata included—ready for distribution.
  • Targeting additional Minecraft versions in future releases.

📄 License

  • MIT — use this library in open-source or commercial projects with attribution.

常见问题

ChosenLib 支持哪些 Minecraft 版本?

ChosenLib 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ChosenLib 怎么安装?

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

评论

登录后评论和评分

ChosenTechies 的其他作品

查看全部 →