forked from Clones/Controlify
button guide hud
This commit is contained in:
@ -96,6 +96,12 @@ public class YACLHelper {
|
||||
.binding(def.toggleSneak, () -> config.toggleSneak, v -> config.toggleSneak = v)
|
||||
.controller(opt -> new BooleanController(opt, v -> Component.translatable("controlify.gui.format.hold_toggle." + (v ? "toggle" : "hold")), false))
|
||||
.build())
|
||||
.option(Option.createBuilder(boolean.class)
|
||||
.name(Component.translatable("controlify.gui.show_guide"))
|
||||
.tooltip(Component.translatable("controlify.gui.show_guide.tooltip"))
|
||||
.binding(def.showGuide, () -> config.showGuide, v -> config.showGuide = v)
|
||||
.controller(TickBoxController::new)
|
||||
.build())
|
||||
.option(Option.createBuilder(float.class)
|
||||
.name(Component.translatable("controlify.gui.vmouse_sensitivity"))
|
||||
.tooltip(Component.translatable("controlify.gui.vmouse_sensitivity.tooltip"))
|
||||
|
Reference in New Issue
Block a user