-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature
featureCustomBlockHitBoxOverlayFill
- Loading branch information
1 parent
761a49f
commit 17c62f7
Showing
8 changed files
with
252 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/top/hendrixshen/tweakmyclient/TweakMyClientPredicate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package top.hendrixshen.tweakmyclient; | ||
|
||
import top.hendrixshen.magiclib.config.Option; | ||
import top.hendrixshen.magiclib.dependency.annotation.OptionDependencyPredicate; | ||
import top.hendrixshen.tweakmyclient.config.Configs; | ||
|
||
public class TweakMyClientPredicate { | ||
public static class DebugMode implements OptionDependencyPredicate { | ||
@Override | ||
public boolean test(Option option) { | ||
return Configs.debugMode; | ||
} | ||
} | ||
|
||
public static class ExperimentalMode implements OptionDependencyPredicate { | ||
@Override | ||
public boolean test(Option option) { | ||
return Configs.debugExperimentalMode; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.