diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 8 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java index 5608102eb..392223d53 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -369,6 +369,7 @@ public class Garden { @ConfigAccordionId(id = 8) public Runnable keyBindPresetDisable = () -> { keyBindAttack = Keyboard.KEY_NONE; + keyBindUseItem = Keyboard.KEY_NONE; keyBindLeft = Keyboard.KEY_NONE; keyBindRight = Keyboard.KEY_NONE; keyBindForward = Keyboard.KEY_NONE; @@ -384,6 +385,7 @@ public class Garden { @ConfigAccordionId(id = 8) public Runnable keyBindPresetDefault = () -> { keyBindAttack = -100; + keyBindUseItem = -99; keyBindLeft = Keyboard.KEY_A; keyBindRight = Keyboard.KEY_D; keyBindForward = Keyboard.KEY_W; @@ -400,6 +402,12 @@ public class Garden { public int keyBindAttack = -100; @Expose + @ConfigOption(name = "Use Item", desc = "") + @ConfigAccordionId(id = 8) + @ConfigEditorKeybind(defaultKey = -99) + public int keyBindUseItem = -99; + + @Expose @ConfigOption(name = "Move Left", desc = "") @ConfigAccordionId(id = 8) @ConfigEditorKeybind(defaultKey = Keyboard.KEY_A) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt index 25491f068..7f70e6883 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt @@ -20,6 +20,7 @@ object GardenCustomKeybinds { init { map[mcSettings.keyBindAttack] = { shConfig.keyBindAttack } + map[mcSettings.keyBindUseItem] = { shConfig.keyBindUseItem } map[mcSettings.keyBindLeft] = { shConfig.keyBindLeft } map[mcSettings.keyBindRight] = { shConfig.keyBindRight } map[mcSettings.keyBindForward] = { shConfig.keyBindForward } |