forked from virt-mirrors/Sit
added the handSitting toggle that enables sitting using the hand
This commit is contained in:
parent
384767b24c
commit
c2e708ba38
3 changed files with 14 additions and 0 deletions
|
@ -40,6 +40,12 @@ public class ModMenu implements ModMenuApi {
|
|||
.binding(Config.defaults.sitWhileSeated, () -> Config.sitWhileSeated, n -> Config.sitWhileSeated = n)
|
||||
.controller(opt -> BooleanControllerBuilder.create(opt).trueFalseFormatter())
|
||||
.build())
|
||||
.option(Option.<Boolean>createBuilder()
|
||||
.name(Text.of("Sitting with Hand"))
|
||||
.description(OptionDescription.of(Text.of("Toggles the player's ability to sit with their hand.")))
|
||||
.binding(Config.defaults.handSitting,()-> Config.handSitting, n -> Config.handSitting = n)
|
||||
.controller(opt -> BooleanControllerBuilder.create(opt).trueFalseFormatter())
|
||||
.build())
|
||||
.group(OptionGroup.createBuilder()
|
||||
.name(lang("general.sittable"))
|
||||
.description(OptionDescription.of(lang("general.sittable.description")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue