diff options
author | xander <xander@isxander.dev> | 2022-09-11 21:52:12 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-11 21:52:12 +0100 |
commit | 5e0574b1cb6ef22bf70ce52a0c0e187450189c6c (patch) | |
tree | 58bceadeac982cb4e3853d1d81332c51e855f04e /src/testmod/java/dev/isxander/yacl | |
parent | 20132e61aaa18849e46c7a3f4e28ec163585dc0c (diff) | |
download | YetAnotherConfigLib-5e0574b1cb6ef22bf70ce52a0c0e187450189c6c.tar.gz YetAnotherConfigLib-5e0574b1cb6ef22bf70ce52a0c0e187450189c6c.tar.bz2 YetAnotherConfigLib-5e0574b1cb6ef22bf70ce52a0c0e187450189c6c.zip |
1.1.0
better search - now searches every category rather than the current one
option flags - flags are pieces of code ran when certain options' changes are applied (makes required restart redundant)
fix scaling problems - make GUI a lot better at scaling
bump gradle wrapper
Diffstat (limited to 'src/testmod/java/dev/isxander/yacl')
-rw-r--r-- | src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java index b105ef4..d1ef4d0 100644 --- a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java +++ b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java @@ -50,7 +50,7 @@ public class ModMenuIntegration implements ModMenuApi { .name(Text.of("Control Examples")) .tooltip(Text.of("Example Category Description")) .group(OptionGroup.createBuilder() - .name(Text.of("Boolean Controllers but it has a super long name that needs to wrap")) + .name(Text.of("Boolean Controllers")) .tooltip(Text.of("Test!")) .collapsed(true) .option(Option.createBuilder(boolean.class) @@ -62,7 +62,7 @@ public class ModMenuIntegration implements ModMenuApi { (value) -> TestSettings.booleanToggle = value ) .controller(BooleanController::new) - .requiresRestart(true) + .flag(OptionFlag.GAME_RESTART) .build()) .option(Option.createBuilder(boolean.class) .name(Text.of("Custom Boolean Toggle")) |