基本信息
我的世界Java版本
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
平台
Forge
运行环境
其他链接
搬运团队
详情信息
许可证 LGPL-2.1-only
发布于 2 months ago
更新于 8 days ago
MixinBooter
允许任何适用于模组的混合插件在 1.8 - 1.12.2 上轻松运行
-
当前 Mixin 版本:由 CleanroomMC 分叉的 UniMix 0.15.3,源自 LegacyModdingMC 的 0.8.7 分支
-
当前 MixinExtra 版本:0.5.0-beta4
对于开发者:
- 添加 CleanroomMC 的仓库并依赖 MixinBooter 的 Maven 条目:
repositories {
maven {
url 'https://maven.cleanroommc.com'
}
}
dependencies {
// 通用:
annotationProcessor 'org.ow2.asm:asm-debug-all:5.2'
annotationProcessor 'com.google.guava:guava:32.1.2-jre'
annotationProcessor 'com.google.code.gson:gson:2.8.9'
// ForgeGradle:
implementation ('zone.rong:mixinbooter:10.0') {
transitive = false
}
annotationProcessor ('zone.rong:mixinbooter:10.0') {
transitive = false
}
// RetroFuturaGradle:
String mixinBooter = modUtils.enableMixins('zone.rong:mixinbooter:10.0')
// modUtils.enableMixins('zone.rong:mixinbooter:10.0', 'mod_id.mixins.refmap.json') << 作为第二个参数添加 refmap 名称(可选)
api (mixinBooter) {
transitive = false
}
annotationProcessor (mixinBooter) {
transitive = false
}
}
伪更新日志:
-
从 4.2 版本开始,MixinBooter 的 API 已更改,并且所有使用混合插件的模组都被鼓励依赖 MixinBooter,即使是那些混合到原版/Forge/库类中的模组。为了避免混合插件版本不匹配导致模组崩溃(看看你,VanillaFix)。感谢@embeddedt 推荐并帮助我引入此更改!
-
从 5.0 版本开始,@LlamaLad7 的 MixinExtras 进行了打包隔离。可供开发人员使用。
-
从 8.0 版本开始,MixinBooter 现在将在 1.8 - 1.12.2 上运行。一个单一的构建适用于所有这些版本!(待办事项:LiteLoader 支持?)
-
从 8.4 版本开始,MixinBooter 积极尝试与SpongeForge 兼容
-
从 9.2 版本开始,MixinBooter 为 1.8.x 使用恢复了较旧的 MixinLoader 注释。
-
从 10.0 版本开始,MixinBooter 遵循 Mixin 0.8.7
小贴士:
- 对于影响原版、Forge 或任何在类加载器中极早传递的类(例如 Guava)的混合插件,请参考
IEarlyMixinLoader
。 - 对于影响模组的混合插件,请参考
ILateMixinLoader
。 @MixinLoader
注释的~~,从 4.2 版本开始,已弃用。其~~功能类似于ILateMixinLoader
。两者可以同时使用,特别是在需要的 1.8.x 版本中。