1
0
forked from Clones/Controlify

1.1 release

This commit is contained in:
isXander
2023-04-21 23:20:57 +01:00
parent 9e08c2cd98
commit 4e076631a4
3 changed files with 83 additions and 3 deletions

View File

@ -263,6 +263,7 @@ public class YACLHelper {
var vibrationGroup = OptionGroup.createBuilder()
.name(Component.translatable("controlify.gui.group.vibration"))
.tooltip(Component.translatable("controlify.gui.group.vibration.tooltip"))
.tooltip(canRumble ? Component.empty() : Component.translatable("controlify.gui.allow_vibrations.not_available").withStyle(ChatFormatting.RED))
.collapsed(!canRumble);
List<Option<Float>> strengthOptions = new ArrayList<>();
Option<Boolean> allowVibrationOption;