跳到正文

ModMixinLoader

作者:focamacho

一个让向其他模组混入更简单的模组。

收藏

介绍

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

ModMixinLoader

A mod that makes it easier to mixin into other mods.
This is a library mod, and does nothing by itself.

 

Mixin into other mods to modify their doing is not possible because they’re not loaded yet at the stage mixins are applied.

With this, you can easily modify your mixin.json to require the pre-load of a mod, allowing your mixins to work!

 

For users, this is just a library-mod that is required by other mods.

How to Use
Users
1. Download the mod and put it inside your mods folder.

Developers
1. Setup a basic forge-mod project with mixins. Click here for a gradle buildscript example.
2. Create a new folder inside your resources folder called modmixins. (/resources/modmixins/)
3. Put your mixins json files inside that folder.
4. Add to your mixin json a new key-value named `mods` that accepts an array of mod-ids that it will require to work. Click here for a mod mixin example.
5. Done!

常见问题

ModMixinLoader 支持哪些 Minecraft 版本?

ModMixinLoader 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

ModMixinLoader 怎么安装?

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

评论

登录后评论和评分

focamacho 的其他作品

查看全部 →