diff options
author | HiZe <superhize@hotmail.com> | 2024-01-22 19:28:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 19:28:55 +0100 |
commit | 9653e0d13514ed528df486741828267a8b5227f8 (patch) | |
tree | 50905d84b51e88368736cf14a89e005111ae7410 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 09045cb73ba548ca156224d1f5b3bf076f184bc0 (diff) | |
download | skyhanni-9653e0d13514ed528df486741828267a8b5227f8.tar.gz skyhanni-9653e0d13514ed528df486741828267a8b5227f8.tar.bz2 skyhanni-9653e0d13514ed528df486741828267a8b5227f8.zip |
Add: Draw box around Sulphur Block (#810)
Added Sulphur Skitter Box in Crimson Isle #810
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
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; + + +} |