aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-26 19:45:11 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-26 19:45:11 +0100
commitd4d46c46404cf1424e9262f98e544e0336f2003f (patch)
tree7b72dab6f57b0c23e45594a93eafcf60ce7b4b94 /src/main/java/at/hannibal2/skyhanni/config/features
parent5a710d5101cd24371f3476c837b1a24f83454803 (diff)
downloadskyhanni-d4d46c46404cf1424e9262f98e544e0336f2003f.tar.gz
skyhanni-d4d46c46404cf1424e9262f98e544e0336f2003f.tar.bz2
skyhanni-d4d46c46404cf1424e9262f98e544e0336f2003f.zip
Added PestFinder
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java30
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java5
2 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java
new file mode 100644
index 000000000..444da848d
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java
@@ -0,0 +1,30 @@
+package at.hannibal2.skyhanni.config.features.garden.pests;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import at.hannibal2.skyhanni.config.core.config.Position;
+import com.google.gson.annotations.Expose;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigOption;
+
+public class PestFinderConfig {
+
+ @Expose
+ @ConfigOption(
+ name = "Display",
+ desc = "Show a display with all know pest locations."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean showDisplay = true;
+
+ @Expose
+ @ConfigOption(
+ name = "Only With Vacuum",
+ desc = "Only show the pest display while holding a vacuum in the hand."
+ )
+ @ConfigEditorBoolean
+ public boolean onlyWithVacuum = true;
+
+ @Expose
+ public Position position = new Position(-350, 200, 1.3f);
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java
index 94d954ff4..94e972dfe 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java
@@ -12,6 +12,11 @@ public class PestsConfig {
public PestSpawnConfig pestSpawn = new PestSpawnConfig();
@Expose
+ @ConfigOption(name = "Pest Finder", desc = "")
+ @Accordion
+ public PestFinderConfig pestFinder = new PestFinderConfig();
+
+ @Expose
@ConfigOption(name = "Pest Timer", desc = "")
@Accordion
public PestTimerConfig pestTimer = new PestTimerConfig();