Describe the bug
My mod was incompatible with Impact; So I made a test mod that only injects a println to Minecraft.init HEAD. It crashes with just that as well!
To Reproduce
Steps to reproduce the behavior:
Add the mod.
Launch the game.
Game crashes.
Expected behavior
It shouldn't crash!
Game output
```
[12:53:36] [main/ERROR] [mixin]: Critical injection failure: LVT in net/minecraft/entity/Entity::func_70091_d(Lnet/minecraft/entity/MoverType;DDD)V has incompatible changes at opcode 745 in callback mixins.impact.json:MixinEntity->@Inject::move(Lnet/minecraft/entity/MoverType;DDDLorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;DDDDDDLjava/util/List;Lnet/minecraft/util/math/AxisAlignedBB;Z)V.
Expected: [D, D, D, D, D, D, Ljava/util/List;, Lnet/minecraft/util/math/AxisAlignedBB;, Z]
Found: [D, I, D, D, D, D, D, D, D]
Available: [D, I, D, D, D, D, D, D, D, Ljava/util/List;, Lnet/minecraft/util/math/AxisAlignedBB;, Z, I]
```
Additional Client Info
- Impact Version: 4.9.1 for 1.12.2
- Using Optifine? Yes
- Enabled mods: Doesn't matter
- Operating System: Windows 11 64bit
- Java Version: Java 8
Mod Code
```java
@Mixin(Minecraft.class)
public abstract class MixinMinecraft {
@Inject(method = "init", at = @At("HEAD"))
private void init() {
System.out.println("Hello, world!");
}
}
```
```json
{
"package": "com.author.mod.mixins",
"refmap": "mixins.mod.refmap.json",
"compatibilityLevel": "JAVA_8",
"client": [
"MixinMinecraft"
]
}
```
Describe the bug My mod was incompatible with Impact; So I made a test mod that only injects a println to Minecraft.init HEAD. It crashes with just that as well!
To Reproduce Steps to reproduce the behavior:
Expected behavior It shouldn't crash!
Game output
``` [12:53:36] [main/ERROR] [mixin]: Critical injection failure: LVT in net/minecraft/entity/Entity::func_70091_d(Lnet/minecraft/entity/MoverType;DDD)V has incompatible changes at opcode 745 in callback mixins.impact.json:MixinEntity->@Inject::move(Lnet/minecraft/entity/MoverType;DDDLorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;DDDDDDLjava/util/List;Lnet/minecraft/util/math/AxisAlignedBB;Z)V. Expected: [D, D, D, D, D, D, Ljava/util/List;, Lnet/minecraft/util/math/AxisAlignedBB;, Z] Found: [D, I, D, D, D, D, D, D, D] Available: [D, I, D, D, D, D, D, D, D, Ljava/util/List;, Lnet/minecraft/util/math/AxisAlignedBB;, Z, I] ```Additional Client Info
- Impact Version: 4.9.1 for 1.12.2 - Using Optifine? Yes - Enabled mods: Doesn't matter - Operating System: Windows 11 64bit - Java Version: Java 8Mod Code
```java @Mixin(Minecraft.class) public abstract class MixinMinecraft { @Inject(method = "init", at = @At("HEAD")) private void init() { System.out.println("Hello, world!"); } } ``` ```json { "package": "com.author.mod.mixins", "refmap": "mixins.mod.refmap.json", "compatibilityLevel": "JAVA_8", "client": [ "MixinMinecraft" ] } ```