From be343281315c8afc10b6d91f75afc94ee001c14d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 2 Mar 2023 13:27:16 +0100 Subject: 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` --- .../hannibal2/skyhanni/config/features/Diana.java | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') 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; + } -- cgit