UniLib
一套通用的工具库,旨在支持超过 50 个版本的 Minecraft!
通用说明
- 本模组定位为 仅客户端 模组
- 这意味着它 不会在服务器端运行。
- Fabric 和 Quilt 加载器会直接忽略该模组,而其他加载器可能会导致崩溃。
- 部分适用于 Minecraft 1.14.x 及以上版本的模组版本需要 Fabric API 和 Fabric mod loader
- 部分适用于 Minecraft 1.13.x 的模组版本需要 Rift API 和 Rift mod loader
- 部分适用于 Minecraft 1.1.0 及更低版本的模组版本需要 Risugami's ModLoader
功能
此库模组提供了多年来开发的各种 API 实用程序,最初是 CraftPresence 的一部分, 旨在兼容从最早的 Alpha 版本到最新发行版的超过 50 个 Minecraft 版本。
这些 API 涵盖了多种用途,包括辅助渲染/UI 设计、更新检查器和翻译便捷访问的工具, 以及通过兄弟项目 UniCore 提供的 API。
免责声明 & 附加信息
Minecraft 相关问题 + 其他构建信息
尽管已尽力而为,但由于 Minecraft 代码库的状态,仍可能出现一些问题。
这些问题可能会阻碍后端的某些部分,并导致模组的某些部分无法正常工作。
请注意以下事项:
- Minecraft 1.16 及以上版本
- 随着游戏中越来越多的部分变为数据驱动,某些模组数据在未进入世界之前无法再被自动检索。
- Minecraft 1.15 及以下版本
MC-112292: 当使用 v2 物品渲染器中的RenderUtils#drawItemStack方法时,使用特定渲染器的方块可能无法正常显示。- 此外,仅在 1.15.x 版本中,使用此方法的屏幕可能会出现 z-level 问题。
- 其他杂项问题
- 由于早期 Minecraft 版本的混淆问题,在使用模组的某些部分时可能会出现错误的数据。
此外,某些设置或 API 调用在不同 MC 版本下的表现可能有所不同。
支持
需要关于我制作的某个模组的帮助,或者希望提供反馈?
您可以通过以下方式联系我:
此外,本模组的代码库文档可在 此处 查看,更多指南请参阅 维基
许可协议
本模组采用 MIT 许可证以及 Apache 2.0 许可证授权。
本项目目前在内部使用了以下依赖项:
UniLib
A common set of Utilities, designed for over 50 versions of Minecraft!
General Notes
- This mod identifies as a Client Side-only mod
- This means it will not run on the Server's side.
- Fabric and Quilt mod loaders will simply ignore the mod, while other mod loaders may crash.
- Some versions of the mod for Minecraft 1.14.x and above require the Fabric API and the Fabric mod loader
- Some versions of the mod for Minecraft 1.13.x require the Rift API and the Rift mod loader
- Some versions of the mod for Minecraft 1.1.0 and below require Risugami's ModLoader
Features
This library mod offers various API utilities that have been developed over the years, initially part of CraftPresence, that have been designed to work on over 50 versions of Minecraft, from the earliest Alphas to the latest Releases.
These APIs range from utilities that can help with Rendering/UI design, Update Checker and Translation ease-of-access, as well as the APIs provided through the sibling-project, UniCore
Disclaimers & Additional Info
Minecraft Issues + Additional Build Info
Despite best efforts, issues can occur due to the state of the Minecraft Codebase.
These issues can hinder certain portions of the backend in addition to cause certain parts of the mod to not work.
With this in mind, please note the following:
- Minecraft 1.16 and above
- As more parts of the game become data-driven, some modded data is no longer able to be automatically retrieved without first being in the world.
- Minecraft 1.15 and below
MC-112292: When interacting with theRenderUtils#drawItemStackmethod, used in the v2 Item Renderer, blocks using certain renderers may fail to display properly.- Additionally, on 1.15.x exclusively, z-level issues may occur on Screens using this method
- Miscellaneous Issues
- Due to obfuscation issues in earlier versions of Minecraft, incorrect data may appear when using certain parts of the mod.
Additionally, some settings or API calls may perform differently under certain MC versions.
Support
Need some assistance with one of my mods or wish to provide feedback?
I can be contacted via the following methods:
Additionally, codebase documentation for this mod is available here with further guides available on the wiki
Licensing
This Mod is under the MIT License as well as the Apache 2.0 License
This project currently makes usage of the following dependencies internally:
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UniLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
UniLib 更新日志
v1.2.1 (2026年3月2日)
上次发布的详细更新日志请点击此处
有关该模组的更多信息,请参阅模组说明或 README。
变更内容
- (后端)更新了构建依赖项(有关具体变更,请参阅相应的仓库)
- Unimined (
1.3.14->1.0.5+1.4.2-SNAPSHOT) - JVMDowngrader (
1.2.2->1.3.6) - Spotless (
8.0.0->8.2.1) - Shadow (
9.2.2->9.3.1) - SpotBugs Annotations (
4.9.6->4.9.8) - ASM (
9.8->9.9.1) - Fabric Loader (
0.17.2->0.18.4) - UniCore (
1.3.3->1.3.4) - LenniReflect (
1.5.0->1.6.2) - ClassGraph (
4.8.181->4.8.184) - ImageIO (
3.12.0->3.13.0) - Gradle (
8.14.3->9.2.1)
- Unimined (
更多信息
已知问题
尽管通常能确保版本间的兼容性,但为了获得最佳体验,仍建议谨慎操作。同时请注意,功能可能会在发布之间进行调整、移除或新增/迭代。
请参阅模组说明或 README 以查看与已知问题相关的更多信息。
快照构建信息
此模组的部分版本适用于 Minecraft 快照版或实验性版本,因此需要注意谨慎使用。
任何发布的快照构建版本都将被标记为 ALPHA(阿尔法),以反映其基于发布前测试结果和发现的问题所对应的快照状态。
根据具体情况,快照构建版本可能还包含针对未来模组版本的更改,若存在此类情况,将使用 -Staging 标签进行注明。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧