obfuscator icon indicating copy to clipboard operation
obfuscator copied to clipboard

Name obfuscation changes field visibility

Open MineGame159 opened this issue 4 years ago • 1 comments

I am trying to obfuscate minecraft fabric mod, I have excluded my mixins from the process but still if I decompile the mod and look into the mixins priate static fields are changed to public static fields and because of that minecraft is crashing because mixins cannot have public static fields inside it only private.

MineGame159 avatar Mar 25 '20 16:03 MineGame159

Name obfuscation requires changing visibility otherwise package private access would break. You should exclude your mixins from being name obfuscated.

x4e avatar Apr 24 '20 09:04 x4e