From 60cb0823bcc72f901c1e8fdc3a35b2cb59809989 Mon Sep 17 00:00:00 2001 From: Stella Date: Thu, 30 May 2024 16:40:33 -0700 Subject: Feature: In Water Display (#1892) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/config/features/stranded/StrandedConfig.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/stranded/StrandedConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/stranded/StrandedConfig.java index 595a0f173..f5e37c0c6 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/stranded/StrandedConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/stranded/StrandedConfig.java @@ -1,8 +1,10 @@ package at.hannibal2.skyhanni.config.features.stranded; 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class StrandedConfig { @@ -11,4 +13,14 @@ public class StrandedConfig { @ConfigEditorBoolean @FeatureToggle public boolean highlightPlaceableNpcs = false; + + @Expose + @ConfigOption(name = "In Water Display", desc = "Displays if the Player is in water.") + @ConfigEditorBoolean + @FeatureToggle + public boolean inWaterDisplay = false; + + @Expose + @ConfigLink(owner = StrandedConfig.class, field = "inWaterDisplay") + public Position inWaterPosition = new Position(20, 20); } -- cgit