Open sakurawald opened 3 days ago
Minecraft version
1.20.1
pls change mc version to 1.21.1
Which mc version is this for?
Which mc version is this for?
The environment is 1.21, and i and using the connector for minecraft 1.21
This exact issue is also causing one of my mods to fail on connector: DrexHD/VanillaPermissions#17
This exact issue is also causing one of my mods to fail on connector: DrexHD/VanillaPermissions#17
Yes, it is about the loading mechanism of jvm. Currently i am using a workaround: put the related method inside the mixin itself, and mark these methods with @Unique annotation.
Minecraft version
1.21
Describe the bug
The connector failed to transform the mixins for mojang's brigadier classes.
Steps to reproduce
Write a mixin like this:
}
[13:19:12] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception java.lang.ClassCastException: class com.mojang.brigadier.tree.ArgumentCommandNode cannot be cast to class io.github.sakurawald.module.mixin.command_permission.CommandNodeAccessor (com.mojang.brigadier.tree.ArgumentCommandNode is in module brigadier@1.2.9 of loader 'MC-BOOTSTRAP' @25bbf683; io.github.sakurawald.module.mixin.command_permission.CommandNodeAccessor is in module fuji@1.6.3-dev-b4276b7e0b of loader 'TRANSFORMER' @5b48f0f4)
Minecraft 1.21 NeoForge Loader: 21.0.167
Mods: [✔] connector-2.0.0-beta.1+1.21-full [✔] forgified-fabric-api-0.101.2+2.0.10+1.21 [✔] example-mod