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 11:46:45 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-26 11:46:45 +0100
commit2803f83266d8e75ed9f2a52b0b96027aed9b7b30 (patch)
treec062044adbb2eb9d0a5271d3bfb139590630453c /src/main/java/at/hannibal2/skyhanni/config/features
parent2d45461ddd85f657fd8a188b9ef778d6bf94102e (diff)
downloadskyhanni-2803f83266d8e75ed9f2a52b0b96027aed9b7b30.tar.gz
skyhanni-2803f83266d8e75ed9f2a52b0b96027aed9b7b30.tar.bz2
skyhanni-2803f83266d8e75ed9f2a52b0b96027aed9b7b30.zip
Show the pests that are attracted when changing the selected material of the Sprayanator.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java22
2 files changed, 27 insertions, 0 deletions
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 7acde7b64..94d954ff4 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
@@ -15,4 +15,9 @@ public class PestsConfig {
@ConfigOption(name = "Pest Timer", desc = "")
@Accordion
public PestTimerConfig pestTimer = new PestTimerConfig();
+
+ @Expose
+ @ConfigOption(name = "Spray", desc = "")
+ @Accordion
+ public SprayConfig spray = new SprayConfig();
}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java
new file mode 100644
index 000000000..a1026bd6c
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java
@@ -0,0 +1,22 @@
+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 SprayConfig {
+
+ @Expose
+ @ConfigOption(
+ name = "Pest Spray Selector",
+ desc = "Show the pests that are attracted when changing the selected material of the §aSprayanator§7."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean pestWhenSelector = true;
+
+ @Expose
+ public Position position = new Position(315, -200, 2.3f);
+}