aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-02 13:27:16 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-02 13:27:16 +0100
commitbe343281315c8afc10b6d91f75afc94ee001c14d (patch)
tree0315a442eef36b1d7fc391cd3e02c04bd0a5e169 /src/main/java/at/hannibal2/skyhanni/config/features
parentd431ec1e4f70a6159aa20a8dd071bc85788b9422 (diff)
downloadskyhanni-be343281315c8afc10b6d91f75afc94ee001c14d.tar.gz
skyhanni-be343281315c8afc10b6d91f75afc94ee001c14d.tar.bz2
skyhanni-be343281315c8afc10b6d91f75afc94ee001c14d.zip
Moved the key setting for diana `warp to nearest burrow waypoint` from vanilla mc (esc -> config -> controls -> scroll all the way down to skyhanni category) to simply `/sh diana`
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Diana.java25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java b/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java
index f783358c1..984cc4165 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java
@@ -1,40 +1,43 @@
package at.hannibal2.skyhanni.config.features;
-import at.hannibal2.skyhanni.config.core.config.annotations.ConfigAccordionId;
-import at.hannibal2.skyhanni.config.core.config.annotations.ConfigEditorAccordion;
import at.hannibal2.skyhanni.config.core.config.annotations.ConfigEditorBoolean;
+import at.hannibal2.skyhanni.config.core.config.annotations.ConfigEditorKeybind;
import at.hannibal2.skyhanni.config.core.config.annotations.ConfigOption;
import com.google.gson.annotations.Expose;
+import org.lwjgl.input.Keyboard;
public class Diana {
@Expose
- @ConfigOption(name = "Griffin Burrows", desc = "")
- @ConfigEditorAccordion(id = 0)
- public boolean griffinBurrows = false;
-
- @Expose
@ConfigOption(name = "Soopy Guess", desc = "Uses §eSoopy's Guess Logic §7to find the next burrow. Does not require SoopyV2 or chat triggers to be installed.")
@ConfigEditorBoolean
- @ConfigAccordionId(id = 0)
public boolean burrowsSoopyGuess = false;
@Expose
@ConfigOption(name = "Nearby Detection", desc = "Show burrows near you.")
@ConfigEditorBoolean
- @ConfigAccordionId(id = 0)
public boolean burrowsNearbyDetection = false;
@Expose
@ConfigOption(name = "Smooth Transition", desc = "Show the way from one burrow to another smoothly.")
@ConfigEditorBoolean
- @ConfigAccordionId(id = 0)
public boolean burrowSmoothTransition = false;
@Expose
+ @ConfigOption(name = "Griffin Burrows", desc = "")
+ public boolean griffinBurrows = false;
+
+ @Expose
@ConfigOption(name = "Nearest Warp", desc = "Warps to the nearest warp point on the hub, if closer to the next burrow.")
@ConfigEditorBoolean
- @ConfigAccordionId(id = 0)
public boolean burrowNearestWarp = false;
+ @Expose
+ @ConfigOption(
+ name = "Warp Key",
+ desc = "Press this key to warp to nearest burrow waypoint."
+ )
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int keyBindWarp = Keyboard.KEY_NONE;
+
}