summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-16 23:11:13 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-16 23:11:13 +0200
commitacc866dc2a5f1f55ea8307321e31f8f3a8742e5e (patch)
tree0a023782492b312dec5d6663a823e9716aa6276f /src/main/java/at/hannibal2/skyhanni/config
parent1d6d249d9d33d0250c56cfcd57c09db82b3b2f29 (diff)
downloadskyhanni-acc866dc2a5f1f55ea8307321e31f8f3a8742e5e.tar.gz
skyhanni-acc866dc2a5f1f55ea8307321e31f8f3a8742e5e.tar.bz2
skyhanni-acc866dc2a5f1f55ea8307321e31f8f3a8742e5e.zip
add ashfang reset cooldown
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java9
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java10
2 files changed, 17 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index 00eaa6074..833cb8123 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -1,13 +1,13 @@
package at.hannibal2.skyhanni.config;
import at.hannibal2.skyhanni.SkyHanniMod;
+import at.hannibal2.skyhanni.config.features.*;
import at.hannibal2.skyhanni.config.gui.config.ConfigEditor;
import at.hannibal2.skyhanni.config.gui.core.GuiElement;
import at.hannibal2.skyhanni.config.gui.core.GuiScreenElementWrapper;
import at.hannibal2.skyhanni.config.gui.core.config.Position;
-import at.hannibal2.skyhanni.config.gui.core.config.annotations.*;
+import at.hannibal2.skyhanni.config.gui.core.config.annotations.Category;
import at.hannibal2.skyhanni.config.gui.core.config.gui.GuiPositionEditor;
-import at.hannibal2.skyhanni.config.features.*;
import com.google.gson.annotations.Expose;
import net.minecraft.client.Minecraft;
@@ -56,6 +56,11 @@ public class Features {
editOverlay(activeConfigCategory, 200, 16, abilities.ashfangFreezeCooldownPos);
return;
}
+
+ if (runnableId.equals("ashfangResetCooldown")) {
+ editOverlay(activeConfigCategory, 200, 16, abilities.ashfangNextResetCooldownPos);
+ return;
+ }
}
@Expose
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java
index 73fb588ef..b723272c2 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java
@@ -27,4 +27,14 @@ public class Abilities {
@ConfigOption(name = "Ashfang Freeze Position", desc = "")
@ConfigEditorButton(runnableId = "ashfangFreezeCooldown", buttonText = "Edit")
public Position ashfangFreezeCooldownPos = new Position(10, 10, false, true);
+
+ @Expose
+ @ConfigOption(name = "Ashfang Reset", desc = "Shows the cooldown until ashfang pulls his underlings back")
+ @ConfigEditorBoolean
+ public boolean ashfangNextResetCooldown = false;
+
+ @Expose
+ @ConfigOption(name = "Ashfang Reset Position", desc = "")
+ @ConfigEditorButton(runnableId = "ashfangResetCooldown", buttonText = "Edit")
+ public Position ashfangNextResetCooldownPos = new Position(10, 10, false, true);
}