aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/SulphurSkitterBoxConfig.java55
2 files changed, 60 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java
index c6760ed94..465816d5c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java
@@ -20,6 +20,11 @@ public class CrimsonIsleConfig {
@Expose
public ReputationHelperConfig reputationHelper = new ReputationHelperConfig();
+ @ConfigOption(name = "Sulphur Skitter Box", desc = "")
+ @Accordion
+ @Expose
+ public SulphurSkitterBoxConfig sulphurSkitterBoxConfig = new SulphurSkitterBoxConfig();
+
@Expose
@ConfigOption(name = "Quest Item Helper", desc = "When you open the fetch item quest in the town board, " +
"it shows a clickable chat message that will grab the items needed from the sacks.")
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/SulphurSkitterBoxConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/SulphurSkitterBoxConfig.java
new file mode 100644
index 000000000..9577a9146
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/SulphurSkitterBoxConfig.java
@@ -0,0 +1,55 @@
+package at.hannibal2.skyhanni.config.features.crimsonisle;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import at.hannibal2.skyhanni.config.HasLegacyId;
+import at.hannibal2.skyhanni.features.nether.SulphurSkitterBox;
+import com.google.gson.annotations.Expose;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorColour;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
+import io.github.moulberry.moulconfig.annotations.ConfigOption;
+import io.github.moulberry.moulconfig.observer.Property;
+
+public class SulphurSkitterBoxConfig {
+
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "Render a box around the closest sulphur block.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Box Type", desc = "Choose the look of the box.")
+ @ConfigEditorDropdown
+ public BoxType boxType = BoxType.WIREFRAME;
+
+ public enum BoxType {
+ FULL("Full"),
+ WIREFRAME("Wireframe"),
+
+ ;
+ private final String str;
+
+ BoxType(String str) {
+ this.str = str;
+ }
+
+ @Override
+ public String toString() {
+ return str;
+ }
+
+ }
+
+ @Expose
+ @ConfigOption(name = "Box Color", desc = "Choose the color of the box.")
+ @ConfigEditorColour
+ public String boxColor = "0:102:255:216:0";
+
+ @Expose
+ @ConfigOption(name = "Only With Rods", desc = "Render the box only when holding a lava fishing rod.")
+ @ConfigEditorBoolean
+ public boolean onlyWithRods = true;
+
+
+}