介绍
中文介绍正在准备中,下面暂时显示原文。
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
常见问题
UltraLib 支持哪些 Minecraft 版本?
UltraLib 支持 Minecraft Java 版 1.20–1.21.10,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
UltraLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Sygikal 的其他作品
查看全部 →
AttachmentsAPI
by Sygikal
Library for attaching data to any class
13.5万
1 年前
Modrinth
Realistic Human Pain and Suffering
by Sygikal
A new body health system
11.1万
1 年前
Modrinth
Attribute Backport
by Sygikal
Backports the 1.20.2+ attributes to 1.20.1
3万
1 年前
Modrinth
TabAPI
by Sygikal
API to add tabs to inventory screens
2.8万
1 年前
Modrinth
评论
登录后评论和评分