-
Notifications
You must be signed in to change notification settings - Fork 5
/
proguard.pro
33 lines (27 loc) · 1.13 KB
/
proguard.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
-ignorewarnings
-dontnote
-dontobfuscate
-optimizationpasses 10
-optimizations !class/merging/*,!method/marking/private,!method/marking/static,!*/specialization/*,!method/removal/parameter
-allowaccessmodification
#noinspection ShrinkerInvalidFlags
-optimizeaggressively
-keepattributes Runtime*Annotations,AnnotationDefault # keep annotations
-keep,allowoptimization @org.spongepowered.asm.mixin.Mixin class * {
@org.spongepowered.asm.mixin.Overwrite *;
@org.spongepowered.asm.mixin.Shadow *;
}
-keep class **.mixinextras.** { *; }
-keep,allowoptimization class * extends java.lang.Enum {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep,allowoptimization @*.*.fml.common.Mod class * {
public <init>(...);
}
-keep,allowoptimization class * implements net.fabricmc.api.ModInitializer
-keep,allowoptimization class * implements com.terraformersmc.modmenu.api.ModMenuApi
-keep,allowoptimization class * implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-keepclassmembers,allowoptimization class dev.rdh.createunlimited.*.config.PlacementCheck {
boolean isEnabledFor(***); # accessed in asm
}