ukmojb / CustomFishing

https://www.curseforge.com/minecraft/mc-mods/customfishing
MIT License
0 stars 0 forks source link

Mixin Error: `mixin apply failed mixins.customfishing.json:MixinNetHandlerPlayClient` #2

Open Krutoy242 opened 4 days ago

Krutoy242 commented 4 days ago

After installing CustomFishing onto E2EE modpack, i found this error in debug.log file:

[Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
    at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:559) ~[sponge-mixin-0.20.6+mixin.0.8.7.jar:0.20.6+mixin.0.8.7]
    at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:489) ~[sponge-mixin-0.20.6+mixin.0.8.7.jar:0.20.6+mixin.0.8.7]
[...]

Usually such warnings means that mixin is not working. What functionality not working? How to fix that?

debug.log

ukmojb commented 4 days ago

Fixed at 0.0.6))) I forgot to add @author

Krutoy242 commented 3 days ago

No, this error is not fixed in 0.0.6 and still appear in log file:

[13:11:24] [Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]

debug.log

ukmojb commented 3 days ago

No, this error is not fixed in 0.0.6 and still appear in log file:

[13:11:24] [Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]

debug.log

emmmm.. Let me check again,wait some minutes

ukmojb commented 2 days ago

I solved this problem, but found out that the fish hook will not be rendered when the player throws the fishing rod in the server, but the fish hook is present on the server, so only fish particles will appear, I need more time to solve it))))))