diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-04-23 23:20:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 23:20:43 +0200 |
commit | 6847a0a5f30fa1d88082f96702ee1760638e1a4e (patch) | |
tree | 45e77c5af49dd0d63a0f91600872423086fc41fe /src/main/java/at/hannibal2/skyhanni/config | |
parent | 7175920bcccf4036109a937d2967612732eeafaa (diff) | |
download | skyhanni-6847a0a5f30fa1d88082f96702ee1760638e1a4e.tar.gz skyhanni-6847a0a5f30fa1d88082f96702ee1760638e1a4e.tar.bz2 skyhanni-6847a0a5f30fa1d88082f96702ee1760638e1a4e.zip |
Improvement: Infested Plots Display Customization (#1369)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java | 27 |
1 files changed, 27 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 index c6ccfc3e9..ae2819317 100644 --- 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 @@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.config.FeatureToggle; import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; @@ -32,6 +33,32 @@ public class PestFinderConfig { @Expose @ConfigOption( + name = "Plot Visibility Type", + desc = "Choose how to show infested plots in the world." + ) + @ConfigEditorDropdown + public VisibilityType visibilityType = VisibilityType.BOTH; + + public enum VisibilityType { + BORDER("Border"), + NAME("Name"), + BOTH("Both"), + ; + + private final String str; + + VisibilityType(String str) { + this.str = str; + } + + @Override + public String toString() { + return str; + } + } + + @Expose + @ConfigOption( name = "Only With Vacuum", desc = "Only show the pest display and waypoints while holding a vacuum in the hand." ) |