跳到正文

spearcore_tensura_compat

作者:zekrom1234

Fixes a launch crash when Spear Core and Tensura: Reincarnated are installed together on NeoForge 1.21.1.

收藏

介绍

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

SpearCore x Tensura Compat

A small compatibility patch that fixes the launch crash when Spear Core and Tensura: Reincarnated are installed together on NeoForge 1.21.1.

If your game crashes on startup with the error below after adding both mods to your pack, this is the fix.

 
Critical injection failure: Constant modifier method useItemFirst(F)F
in tensura.mixins.json:client.MixinLocalPlayer

Why the crash happens

When you use an item, Minecraft slows your movement. Both Spear Core and Tensura change that slowdown by editing the same constants inside LocalPlayer.aiStep:

  • Spear Core 3.1.0 does it in LocalPlayerInputMixin, so spears can be used without the normal slowdown.
  • Tensura 2.0.1.3 does it in client.MixinLocalPlayer, through its useItemFirst and useItemSecond injectors.

Mixin only lets one mod change a given constant. It skips Tensura’s injector as a conflict, and because that injector is required, the game stops with an InjectionError before the main menu.

常见问题

spearcore_tensura_compat 支持哪些 Minecraft 版本?

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

spearcore_tensura_compat 怎么安装?

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

评论

登录后评论和评分

zekrom1234 的其他作品

查看全部 →