Mixin
Mixin copied to clipboard
Mixin is a trait/mixin framework for Java using ASM
## Description When you use a shadowed field in an anonymous class inside a mixin, it doesn't get remapped properly. This only happens when remapping from intermediary to named and...
see https://github.com/FabricMC/fabric/issues/1934
I'm not sure if this is the correct place to post this report, I think so. The issue started in fabric loader 0.12 and above. For reference the example is...
Today I tried to update all my fabric installations to loader 0.12.12 (no specific reason), and when trying to update a 1.16.5 installation that worked correctly using 0.11.1, loader 0.12.12...
Found this really weird issue that was hard to nail down, I guess it's best to just start with a minimal example. Consider these 2 mixins: ``` @Mixin(Recipe.class) public interface...
The new 1.15 snapshots move almost all of `MinecraftClient`'s setup stuff into the constructor. This is a *massive* hassle for any mod that wants to add its own resource pack...
It should fail with an exception, but it just terminates. [latest.log](https://github.com/FabricMC/Mixin/files/6657720/latest.1.log)
the following redirection works only in dev: ```java @Mixin(targets="net.minecraft.client.sound.SoundEngine$SourceSetImpl") public class SoundEngineInt_cleanLogsMixin { @Redirect(method = "createSource", at = @At( remap = false, value="INVOKE", target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;)V" )) private void doWarnOrNotWarn(Logger...
There isn't only one mod or set of mods that triggers this issue. I can disable some mods to make the error stop, but enabling different mods instead also triggers...
Similar to the coerce annotation, this annotation will be applied to type usage (like jetbrains nullable) to indicate the actual type of a type usage. This will allow us to...