← Назад к ресурсам

ChosenLib

ChosenLib: a lightweight utility library for Fabric

Modrinth library

Описание

# 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.