Pehkui

Pehkui

35M Downloads

1.17 Fabric, mixin injection fail in dev env

zabi94 opened this issue ยท 1 comments

commented

I'm trying to update Extra Alchemy, which uses this mod.
After launching I get a mixin application failure:

[...]
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: 
Critical injection failure: Argument modifier method onTickMovementGetVelocityProxy(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d; in pehkui.mixins.json:PlayerEntityMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap Pehkui-refmap.json
[...]

Looks like

@ModifyArg(method = "tickMovement", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/player/PlayerEntity;squaredHorizontalLength(Lnet/minecraft/util/math/Vec3d;)D"))

uses PlayerEntity::squaredHorizontalLength, which does not exist in the 1.17 PlayerEntity class

Pehkui: 2.2.0+21w20a (3323423)
Fabric Loader: 0.11.3
Fabric: 0.35.0+1.17
Mappings: 1.17+build.9

commented

Actually it's a duplicate of #138, nevermind