diff options
author | isXander <xandersmith2008@gmail.com> | 2022-12-06 22:08:07 +0000 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2022-12-06 22:08:07 +0000 |
commit | 3f93f5cb0b30268ad76b5fe59c00c6af7286686a (patch) | |
tree | 25eefed38ca4711c4937e4838cbbc9b769c04c2c /src/client/java/dev/isxander/yacl/api | |
parent | daf3168671bc9c0cd64693d7129cddfdb1a08bb2 (diff) | |
download | YetAnotherConfigLib-3f93f5cb0b30268ad76b5fe59c00c6af7286686a.tar.gz YetAnotherConfigLib-3f93f5cb0b30268ad76b5fe59c00c6af7286686a.tar.bz2 YetAnotherConfigLib-3f93f5cb0b30268ad76b5fe59c00c6af7286686a.zip |
minor string controller element improvements
Better carot positioning when clicking in text fields
Fix left arrow not working in color controller
rc3
bump LQF
Diffstat (limited to 'src/client/java/dev/isxander/yacl/api')
-rw-r--r-- | src/client/java/dev/isxander/yacl/api/OptionFlag.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/java/dev/isxander/yacl/api/OptionFlag.java b/src/client/java/dev/isxander/yacl/api/OptionFlag.java index 203a674..7a5c23f 100644 --- a/src/client/java/dev/isxander/yacl/api/OptionFlag.java +++ b/src/client/java/dev/isxander/yacl/api/OptionFlag.java @@ -11,14 +11,10 @@ import java.util.function.Consumer; */ @FunctionalInterface public interface OptionFlag extends Consumer<MinecraftClient> { - /** - * Warns the user that a game restart is required for the changes to take effect - */ + /** Warns the user that a game restart is required for the changes to take effect */ OptionFlag GAME_RESTART = client -> client.setScreen(new RequireRestartScreen(client.currentScreen)); - /** - * Reloads chunks upon applying (F3+A) - */ + /** Reloads chunks upon applying (F3+A) */ OptionFlag RELOAD_CHUNKS = client -> client.worldRenderer.reload(); OptionFlag WORLD_RENDER_UPDATE = client -> client.worldRenderer.scheduleTerrainUpdate(); |