diff options
| author | olim <bobq4582@gmail.com> | 2024-01-31 15:23:53 +0000 |
|---|---|---|
| committer | olim <bobq4582@gmail.com> | 2024-01-31 15:23:53 +0000 |
| commit | 7076875f3b9b513a569760f5890202e260fc6bd7 (patch) | |
| tree | 14c93e874ec500d9896560391c64116002d17d2b /src/main/java/de/hysky/skyblocker/config | |
| parent | 465c46d1f3dde2474fc1595033e2eab4e7286433 (diff) | |
| download | Skyblocker-7076875f3b9b513a569760f5890202e260fc6bd7.tar.gz Skyblocker-7076875f3b9b513a569760f5890202e260fc6bd7.tar.bz2 Skyblocker-7076875f3b9b513a569760f5890202e260fc6bd7.zip | |
comments and desriptions
add more comments to new code and added Tooltips to the new options in the config menu
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/config')
| -rw-r--r-- | src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java b/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java index a15424a7..62b0ebf9 100644 --- a/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java +++ b/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java @@ -83,7 +83,7 @@ public class DwarvenMinesCategory { .controller(ConfigUtils::createBooleanController) .build()) .build()) - //crystal HUD //todo add descriptions to features + //crystal HUD .group(OptionGroup.createBuilder() .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud")) .collapsed(false) @@ -101,13 +101,15 @@ public class DwarvenMinesCategory { .build()) .option(Option.<Boolean>createBuilder() .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.showLocations")) + .description(OptionDescription.of(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.showLocations.@Tooltip"))) .binding(defaults.locations.dwarvenMines.crystalsHud.showLocations, () -> config.locations.dwarvenMines.crystalsHud.showLocations, newValue -> config.locations.dwarvenMines.crystalsHud.showLocations = newValue) .controller(ConfigUtils::createBooleanController) .build()) .option(Option.<Integer>createBuilder() - .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.locationSize")) + .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.showLocations.locationSize")) + .description(OptionDescription.of(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.showLocations.locationSize.@Tooltip"))) .binding(defaults.locations.dwarvenMines.crystalsHud.locationSize, () -> config.locations.dwarvenMines.crystalsHud.locationSize, newValue -> config.locations.dwarvenMines.crystalsHud.locationSize = newValue) @@ -120,6 +122,7 @@ public class DwarvenMinesCategory { .collapsed(false) .option(Option.<Boolean>createBuilder() .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsWaypoints.enabled")) + .description(OptionDescription.of(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsWaypoints.enabled.@Tooltip"))) .binding(defaults.locations.dwarvenMines.crystalsWaypoints.enabled, () -> config.locations.dwarvenMines.crystalsWaypoints.enabled, newValue -> config.locations.dwarvenMines.crystalsWaypoints.enabled = newValue) @@ -127,6 +130,7 @@ public class DwarvenMinesCategory { .build()) .option(Option.<Boolean>createBuilder() .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsWaypoints.findInChat")) + .description(OptionDescription.of(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsWaypoints.findInChat.@Tooltip"))) .binding(defaults.locations.dwarvenMines.crystalsWaypoints.findInChat, () -> config.locations.dwarvenMines.crystalsWaypoints.findInChat, newValue -> config.locations.dwarvenMines.crystalsWaypoints.findInChat = newValue) |
