mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-20 01:49:36 +00:00
Deprecate the StableAPI annotations, switch to JB annotations
This commit is contained in:
96 files changed
+1079
-762
No files matched your search
@@ -22,7 +22,6 @@
|
||||
|
||||
package com.falsepattern.lib.optifine;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
import com.falsepattern.lib.internal.impl.optifine.OptiFineTransformerHooksImpl;
|
||||
|
||||
/**
|
||||
@@ -30,10 +29,10 @@ import com.falsepattern.lib.internal.impl.optifine.OptiFineTransformerHooksImpl;
|
||||
* If you have a mod that injects code that would otherwise conflict with OptiFine, and you have provably tested that
|
||||
* removing certain OptiFine patches from the jar does NOT break anything, you may use this class to disable them
|
||||
* without having to do jar file edits.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@StableAPI(since = "1.0.0")
|
||||
public class OptiFineTransformerHooks {
|
||||
@StableAPI.Expose
|
||||
public static void disableOptiFinePatch(String patchName) {
|
||||
OptiFineTransformerHooksImpl.disableOptiFinePatch(patchName);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user