跳到正文

AccessTransformerJS

作者:chen_1335

allow use accessTransformer in kubejs

收藏

介绍

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

allow use accessTransformer in kubejs.

Access Transformers (ATs for short) allow for widening the visibility and modifying the flags of classes, methods, and fields. They allow modders to access and modify otherwise inaccessible members in classes outside their control — NeoForge Doc

see Access Transformers | NeoForged docs

Start the game once after installing this mod.

Every time you modify accesstransformer. cfg, you need to restart the game for it to take effect

see kubejs/accesstransformer.cfg to use it

For safety reasons, in the latest version, class filters have been added, which will not allow you to widen all classes that kubejs or other mods do not allow to load, including the types of fields and function return values..

example:

result:

常见问题

AccessTransformerJS 支持哪些 Minecraft 版本?

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

AccessTransformerJS 怎么安装?

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

评论

登录后评论和评分

chen_1335 的其他作品

查看全部 →