Annotation Interface DontObfuscate


@TypeQualifierDefault({TYPE,METHOD}) @Retention(CLASS) public @interface DontObfuscate
This annotation applies to some unobfuscated elements within the Minecraft source code.

Its behavior appears as follows:

  • The annotation itself is not obfuscated.
  • If a class is annotated, it is not obfuscated. It's not yet clear if its members will always become deobfuscated as well.
  • If a member is annotated, it and its containing class is not obfuscated, but other members in the same class may stay obfuscated.

Visit the use page for the usage of this annotation.

In addition, single-abstract-method interfaces used as lambda expressions always have their single abstract method unobfuscated per proguard behavior.

This annotation is not Documented, and hence will not appear in the generated javadoc for annotated elements.

Mappings:
Namespace Name
named net/minecraft/obfuscate/DontObfuscate
intermediary net/minecraft/obfuscate/DontObfuscate
official net/minecraft/obfuscate/DontObfuscate