这是我最后一个库模组,旨在简化数据驱动开发和功能注册。它无侵入性(即不使用 Mixin 等,以实现广泛的兼容性),纯粹是一组实用的 Java 工具类集合。
目前包含:
OptionalObject:一种从 JSON 解析可选数据的方式LatchedKeyBinding:每次点击仅触发一次的按键绑定SortedList:按权重对列表进行排序UltraConfig:极其轻量级的配置系统SimpleDataLoader、RunnableDataLoader、DetachedRunableDataLoader:加载 JSON 数据的不同方法Creator:一个带有注册表的Function,允许通过指定 ID 将一种对象转换为另一种对象。主要用于数据驱动的功能实现。Lists:对 Apache Commons 类的重新封装,因为客户端默认未包含该类
UltraDRY!
This is my penultimate library mod, meant for easing data-driven development and feature registration. It is non-intrusive (meaning no-mixins and such for broad compatibilty) and is purely a collection of helpful Java classes.
Currently includes:
OptionalObject: A way for parsing optional data from JSONLatchedKeyBinding: Keybindings that only run once per clickSortedList: Sorting a list by weightUltraConfig: Extremely light-weight configSimpleDataLoader,RunnableDataLoader,DetachedRunableDataLoader: Different methods of loading json dataCreator: AFunctionwith registry that allows for turning one object into another by a specified id. Mainly used for data-driven features.Lists: Repackaging of the Apache Commons class because its not included on the client by default
UltraDRY!
- UltraLib now offers some utilities to help keep things DRY.
- Opt-in by adding this to your client init:
UltraLib.registerPackage(this.getClass(), MOD_ID); - Now you can grab multiple things with ease!:
- Mod-specific identifiers with
UltraLib.id(String id); - Mod translations with
UltraLib.getText(String title, String... paths); - You can even get your logger wtih
UltraLib.log();! - More examples here
- Mod-specific identifiers with
版本游戏版本平台发布时间本站下载
正式版
1.0.7+1.20.1
UltraLib 1.0.7+1.20.1
1.20.1 Fabric 11 个月前 ·
0
1.20.1
Fabric
11 个月前
0
下载 UltraLib
正式版
1.0.5+1.21.9
UltraLib 1.0.5+1.21.9
1.21.101.21.9 Fabric 1 年前 ·
0
1.21.10
1.21.9
Fabric
1 年前
0
下载 UltraLib
版本:1.0.5+1.21.9
游戏版本:1.21.10、1.21.9
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.4.3
UltraLib 1.0.4.3
1.20.61.20.5 Fabric 1 年前 ·
0
1.20.6
1.20.5
1.20.4
1.20.3, 1.20.2, 1.20.1, 1.20
Fabric
1 年前
0
下载 UltraLib
版本:1.0.4.3
游戏版本:1.20.6、1.20.5、1.20.4 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.4.2
UltraLib 1.0.4.2
1.20.61.20.5 Fabric 1 年前 ·
0
1.20.6
1.20.5
1.20.4
1.20.3, 1.20.2, 1.20.1, 1.20
Fabric
1 年前
0
下载 UltraLib
版本:1.0.4.2
游戏版本:1.20.6、1.20.5、1.20.4 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.3
UltraLib 1.0.3
1.20.61.20.5 Fabric 1 年前 ·
0
1.20.6
1.20.5
1.20.4
1.20.3, 1.20.2, 1.20.1, 1.20
Fabric
1 年前
0
下载 UltraLib
版本:1.0.3
游戏版本:1.20.6、1.20.5、1.20.4 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.0.7+1.20.1
正式版
2025-11-22
- UltraLib 现在已更名为 UltraDry!
- TextUtil 和公式
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
239
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
239
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧