summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-06-15 03:28:16 +0200
committerGitHub <noreply@github.com>2024-06-15 03:28:16 +0200
commit84b59f02dbd85dc49343cd53271413e52f3ed2ae (patch)
treecb26c310a012fe960c443b040aad8052211d60a0 /src/main/java/at/hannibal2/skyhanni/config/features
parent4b5890830b10ad40f6f75200ecd779242d2d25ba (diff)
downloadskyhanni-84b59f02dbd85dc49343cd53271413e52f3ed2ae.tar.gz
skyhanni-84b59f02dbd85dc49343cd53271413e52f3ed2ae.tar.bz2
skyhanni-84b59f02dbd85dc49343cd53271413e52f3ed2ae.zip
Improvement: Custom Wardrobe Tooltip Keybind (#2078)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/inventory/customwardrobe/CustomWardrobeConfig.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/customwardrobe/CustomWardrobeConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/customwardrobe/CustomWardrobeConfig.java
index a4ea69bad..fd2a94793 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/customwardrobe/CustomWardrobeConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/customwardrobe/CustomWardrobeConfig.java
@@ -4,7 +4,9 @@ import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.Accordion;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import org.lwjgl.input.Keyboard;
public class CustomWardrobeConfig {
@@ -43,6 +45,16 @@ public class CustomWardrobeConfig {
public boolean loadingText = true;
@Expose
+ @ConfigOption(name = "Armor Tooltip Keybind", desc = "Only show the lore of the item hovered when holding a keybind.")
+ @ConfigEditorBoolean
+ public boolean showTooltipOnlyKeybind = false;
+
+ @Expose
+ @ConfigOption(name = "Tooltip Keybind", desc = "Press this key to show the item tooltip.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_LSHIFT)
+ public int tooltipKeybind = Keyboard.KEY_LSHIFT;
+
+ @Expose
@ConfigOption(name = "Colors", desc = "Change the color settings.")
@Accordion
public ColorConfig color = new ColorConfig();