Phoron-stdlib
Phoron-stdlib 是一个通用的、与版本无关的 Fabric 库,它捆绑了高性能的重定位依赖项,如 Caffeine、Gson、FastUtil 和 Kotlin Coroutines——完全重定位、无冲突,且可安全地用于任何 Fabric 模组。
该库专为希望避免依赖冲突、减小模组体积,并分发经过优化、可直接投入生产环境的实用工具(而无需强制玩家安装额外模组)的开发者设计。
? 为什么你应该使用这个库?
-
无依赖冲突
所有库均已完全重定位至 me.km310.shaded.* 命名空间。
-
零配置供最终用户
玩家无需安装任何内容。你的模组包含所需的一切。
-
通用兼容性
只要存在 Fabric Loader,即可在 每个 Minecraft 版本上运行。
-
轻量级且稳定
无 Mixin、无 Fabric API 依赖、无版本锁定——仅有干净的重定位库。
-
完美适用于 Kotlin 模组
Kotlin Stdlib + Coroutines 已作为 API 导出,因此你的模组可以使用它们,而无需捆绑自己的副本。
✨ 功能特性
- ✔ 重定位 Caffeine(高性能缓存)
- ✔ 重定位 Gson(JSON 序列化)
- ✔ 重定位 FastUtil(快速集合)
- ✔ 重定位 Kotlin Coroutines
- ✔ Kotlin Stdlib 作为 API 导出
- ✔ 完全重定位以避免冲突
- ✔ 兼容 Fabric Loader
- ✔ Mod Menu 集成(显示为库模组)
- ✔ MIT 许可
? Phoron-stdlib 有何特别之处?
-
真正通用
它不依赖于任何特定的 Minecraft 版本或 Fabric API 模块。
-
可安全包含在任何模组中
得益于重定位机制,不会引发类路径冲突的风险。
-
针对生产环境优化
使用 Shadow 生成一个干净、单一的 JAR 文件,运行时开销为零。
-
极小占用空间
仅有一个空操作入口点——无 Mixin、无注入、无补丁。
要求
- Java 8+
- Fabricloader
- Mod Menu Fabric
Phoron-stdlib
Phoron-stdlib is a universal, version-independent Fabric library that bundles
high‑performance shaded dependencies such as Caffeine, Gson, FastUtil and Kotlin
Coroutines — fully relocated, conflict‑free, and safe to use in any Fabric mod.
This library is designed for developers who want to avoid dependency conflicts,
reduce mod size, and ship optimized, production-ready utilities without forcing
players to install additional mods.
? Why should you use this library?
-
No dependency conflicts
All libraries are fully relocated into the me.km310.shaded.* namespace.
-
Zero setup for end users
Players do not need to install anything. Your mod includes everything it needs.
-
Universal compatibility
Works on every Minecraft version as long as Fabric Loader exists.
-
Lightweight & stable
No mixins, no Fabric API usage, no version locks — just clean shaded libraries.
-
Perfect for Kotlin mods
Kotlin stdlib + coroutines are exported as API, so your mod can use them
without bundling its own copy.
✨ Features
- ✔ Shaded Caffeine (high-performance caching)
- ✔ Shaded Gson (JSON serialization)
- ✔ Shaded FastUtil (fast collections)
- ✔ Shaded Kotlin Coroutines
- ✔ Kotlin Stdlib exported as API
- ✔ Fully relocated to avoid conflicts
- ✔ Fabric Loader compatible
- ✔ Mod Menu integration (shows as a library mod)
- ✔ MIT licensed
? What makes Phoron-stdlib special?
-
Truly universal
It does not depend on any Minecraft version or Fabric API module.
-
Safe to include in any mod
No risk of classpath collisions thanks to relocation.
-
Optimized for production
Uses Shadow to produce a clean, single JAR with zero runtime overhead.
-
Minimal footprint
Only one no-op entrypoint — no mixins, no injections, no patches.
Requirements
- Java 8+
- Fabricloader
- Mod Menu Fabric
评论 0
登录后参与评分
还没有评论,来抢沙发吧