跳到正文

UtilJS

作者:Tki_sor

Some practical methods, and a bit of black magic.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

UtilJS adds some practical utilities to KubeJS, such as the Assert class and the use of Minecraft’s Executor.
It also draws inspiration from Kotlin by implementing fully safe methods like runCatching, let, also, and others.
Additionally, UtilJS extends common classes with a wrap method, allowing you to conveniently call let, also, and similar functions—just like in Kotlin.

wiki: https://github.com/Tki-sor/UtilJS/wiki

常见问题

UtilJS 支持哪些 Minecraft 版本?

UtilJS 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

UtilJS 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Tki_sor 的其他作品

查看全部 →