diff options
author | jani270 <69345714+jani270@users.noreply.github.com> | 2024-04-09 17:51:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 17:51:50 +0200 |
commit | aeaf7edfd49f11f5512854b9b5989ddd16632089 (patch) | |
tree | d3ac2900c30458e6ba597791e37a94fff1d71780 /src/main/java/at/hannibal2/skyhanni/config | |
parent | 9b97c82128d89abb0e4877d2d2d6434f0423bc50 (diff) | |
download | skyhanni-aeaf7edfd49f11f5512854b9b5989ddd16632089.tar.gz skyhanni-aeaf7edfd49f11f5512854b9b5989ddd16632089.tar.bz2 skyhanni-aeaf7edfd49f11f5512854b9b5989ddd16632089.zip |
Improvement: Added most of the config links (#1404)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
62 files changed, 135 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/BestiaryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/BestiaryConfig.java index d77d0585d..5ac0f674a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/BestiaryConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/BestiaryConfig.java @@ -6,6 +6,7 @@ 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class BestiaryConfig { @@ -98,5 +99,6 @@ public class BestiaryConfig { public boolean replaceRoman = false; @Expose + @ConfigLink(owner = BestiaryConfig.class, field = "enabled") public Position position = new Position(100, 100, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/EnderNodeConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/EnderNodeConfig.java index dc7035985..914fb7222 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/EnderNodeConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/EnderNodeConfig.java @@ -6,6 +6,7 @@ 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.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -126,5 +127,6 @@ public class EnderNodeConfig { } @Expose + @ConfigLink(owner = EnderNodeConfig.class, field = "enabled") public Position position = new Position(10, 80, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/SummoningsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/SummoningsConfig.java index 87fe89a4b..2bcaa3e41 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/SummoningsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/SummoningsConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class SummoningsConfig { @@ -22,6 +23,7 @@ public class SummoningsConfig { public boolean summoningMobDisplay = false; @Expose + @ConfigLink(owner = SummoningsConfig.class, field = "summoningMobDisplay") public Position summoningMobDisplayPos = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/ghostcounter/GhostCounterConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/ghostcounter/GhostCounterConfig.java index ca2a9ba96..613b1d120 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/ghostcounter/GhostCounterConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/ghostcounter/GhostCounterConfig.java @@ -11,6 +11,7 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorButton; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import java.util.ArrayList; @@ -137,5 +138,6 @@ public class GhostCounterConfig { public Runnable resetCounter = GhostUtil.INSTANCE::reset; @Expose + @ConfigLink(owner = GhostCounterConfig.class, field = "enabled") public Position position = new Position(50, 50, false, true); } 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 2dac04c1d..07257ab3c 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 @@ -7,6 +7,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.Category; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class CrimsonIsleConfig { @@ -32,6 +33,7 @@ public class CrimsonIsleConfig { public boolean volcanoExplosivity = false; @Expose + @ConfigLink(owner = CrimsonIsleConfig.class, field = "volcanoExplosivity") public Position positionVolcano = new Position(20, 20, false, true); @Expose @@ -43,5 +45,6 @@ public class CrimsonIsleConfig { public boolean showDojoRankDisplay = false; @Expose + @ConfigLink(owner = CrimsonIsleConfig.class, field = "showDojoRankDisplay") public Position dojoRankDisplayPosition = new Position(-378, 206, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ReputationHelperConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ReputationHelperConfig.java index e6c00d983..08e693828 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ReputationHelperConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ReputationHelperConfig.java @@ -7,6 +7,7 @@ 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; import org.lwjgl.input.Keyboard; @@ -36,6 +37,7 @@ public class ReputationHelperConfig { @Expose + @ConfigLink(owner = ReputationHelperConfig.class, field = "enabled") public Position position = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ashfang/AshfangConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ashfang/AshfangConfig.java index 77a82a7c6..fc19e0bfa 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ashfang/AshfangConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/ashfang/AshfangConfig.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class AshfangConfig { @@ -37,6 +38,7 @@ public class AshfangConfig { public boolean freezeCooldown = false; @Expose + @ConfigLink(owner = AshfangConfig.class, field = "freezeCooldown") public Position freezeCooldownPos = new Position(10, 10, false, true); @Expose @@ -46,5 +48,6 @@ public class AshfangConfig { public boolean nextResetCooldown = false; @Expose + @ConfigLink(owner = AshfangConfig.class, field = "nextResetCooldown") public Position nextResetCooldownPos = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java index db7b2f45c..7040c2a1e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class DungeonConfig { @@ -22,6 +23,7 @@ public class DungeonConfig { public boolean showMilestonesDisplay = false; @Expose + @ConfigLink(owner = DungeonConfig.class, field = "showMilestonesDisplay") public Position showMileStonesDisplayPos = new Position(10, 10, false, true); @Expose @@ -31,6 +33,7 @@ public class DungeonConfig { public boolean deathCounterDisplay = false; @Expose + @ConfigLink(owner = DungeonConfig.class, field = "deathCounterDisplay") public Position deathCounterPos = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonCopilotConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonCopilotConfig.java index 4d4ce29b6..472883f25 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonCopilotConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonCopilotConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class DungeonCopilotConfig { @@ -14,5 +15,6 @@ public class DungeonCopilotConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = DungeonCopilotConfig.class, field = "enabled") public Position pos = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/CenturyConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/CenturyConfig.java index 352d6dc4c..28bdb9594 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/CenturyConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/CenturyConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class CenturyConfig { @@ -15,6 +16,7 @@ public class CenturyConfig { public boolean enableActiveTimer = true; @Expose + @ConfigLink(owner = CenturyConfig.class, field = "enableActiveTimer") public Position activeTimerPosition = new Position(100, 100, false, true); @ConfigOption(name = "Enable Active Player Alert", desc = "Loudly proclaim when it is time to break some wheat.") diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/CityProjectConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/CityProjectConfig.java index b8e52001e..17a3092ea 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/CityProjectConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/CityProjectConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class CityProjectConfig { @@ -27,5 +28,6 @@ public class CityProjectConfig { public boolean dailyReminder = true; @Expose + @ConfigLink(owner = CityProjectConfig.class, field = "showMaterials") public Position pos = new Position(150, 150, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/GreatSpookConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/GreatSpookConfig.java index 96932e658..cdf8610d8 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/GreatSpookConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/GreatSpookConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class GreatSpookConfig { @@ -21,6 +22,7 @@ public class GreatSpookConfig { public boolean primalFearNotification = false; @Expose + @ConfigLink(owner = GreatSpookConfig.class, field = "primalFearTimer") public Position positionTimer = new Position(20, 20, false, true); @Expose @@ -30,6 +32,7 @@ public class GreatSpookConfig { public boolean fearStatDisplay = false; @Expose + @ConfigLink(owner = GreatSpookConfig.class, field = "fearStatDisplay") public Position positionFear = new Position(30, 30, false, true); @Expose @@ -39,6 +42,7 @@ public class GreatSpookConfig { public boolean greatSpookTimeLeft = false; @Expose + @ConfigLink(owner = GreatSpookConfig.class, field = "greatSpookTimeLeft") public Position positionTimeLeft = new Position(40, 40, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaProfitTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaProfitTrackerConfig.java index d95c0d2d7..e9ac12c8b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaProfitTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaProfitTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class DianaProfitTrackerConfig { @@ -16,5 +17,6 @@ public class DianaProfitTrackerConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = DianaProfitTrackerConfig.class, field = "enabled") public Position position = new Position(20, 20, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/MythologicalMobTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/MythologicalMobTrackerConfig.java index 9bbf389c0..f60419428 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/MythologicalMobTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/MythologicalMobTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -16,6 +17,7 @@ public class MythologicalMobTrackerConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = MythologicalMobTrackerConfig.class, field = "enabled") public Position position = new Position(20, 20, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/FrozenTreasureConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/FrozenTreasureConfig.java index 09a3b3c7b..80350cbcd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/FrozenTreasureConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/FrozenTreasureConfig.java @@ -6,6 +6,7 @@ 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.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import java.util.ArrayList; @@ -122,5 +123,6 @@ public class FrozenTreasureConfig { public boolean hideMessages = false; @Expose + @ConfigLink(owner = FrozenTreasureConfig.class, field = "enabled") public Position position = new Position(10, 80, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java index b1a0013fd..71ffa1d89 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/JyrreTimerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class JyrreTimerConfig { @@ -20,5 +21,6 @@ public class JyrreTimerConfig { public boolean showInactive = true; @Expose + @ConfigLink(owner = JyrreTimerConfig.class, field = "enabled") public Position pos = new Position(390, 65, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/UniqueGiftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/UniqueGiftConfig.java index 51ea46412..b3cd466ba 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/UniqueGiftConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/UniqueGiftConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class UniqueGiftConfig { @@ -15,5 +16,6 @@ public class UniqueGiftConfig { public boolean enabled = true; @Expose + @ConfigLink(owner = UniqueGiftConfig.class, field = "enabled") public Position position = new Position(100, 100, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java index 595e66207..b681d5231 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/winter/WinterConfig.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class WinterConfig { @@ -36,6 +37,7 @@ public class WinterConfig { public boolean islandCloseTime = true; @Expose + @ConfigLink(owner = WinterConfig.class, field = "islandCloseTime") public Position islandCloseTimePosition = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/BarnTimerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/BarnTimerConfig.java index eeef214d6..1cc46da60 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/BarnTimerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/BarnTimerConfig.java @@ -6,6 +6,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import org.lwjgl.input.Keyboard; @@ -74,5 +75,6 @@ public class BarnTimerConfig { public int alertTime = 330; @Expose + @ConfigLink(owner = BarnTimerConfig.class, field = "enabled") public Position pos = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java index f4cb4bfd8..d5d87f402 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingConfig.java @@ -7,6 +7,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.Category; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class FishingConfig { @@ -75,6 +76,7 @@ public class FishingConfig { public boolean sharkFishCounter = false; @Expose + @ConfigLink(owner = FishingConfig.class, field = "sharkFishCounter") public Position sharkFishCounterPos = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingHookDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingHookDisplayConfig.java index 3aef6d9b0..adb7ed0a7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingHookDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingHookDisplayConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorText; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class FishingHookDisplayConfig { @@ -33,5 +34,6 @@ public class FishingHookDisplayConfig { public boolean hideArmorStand = true; @Expose + @ConfigLink(owner = FishingHookDisplayConfig.class, field = "enabled") public Position position = new Position(-475, -240, 3.4f, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingProfitTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingProfitTrackerConfig.java index cc7554eab..8dc7df4d8 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingProfitTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/FishingProfitTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class FishingProfitTrackerConfig { @@ -15,6 +16,7 @@ public class FishingProfitTrackerConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = FishingProfitTrackerConfig.class, field = "enabled") public Position position = new Position(20, 20, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java index 456052771..c8b5520ec 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/SeaCreatureTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -16,6 +17,7 @@ public class SeaCreatureTrackerConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = SeaCreatureTrackerConfig.class, field = "enabled") public Position position = new Position(20, 20, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java index 0fc17d473..a9f125356 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java @@ -7,6 +7,7 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class TotemOfCorruptionConfig { @@ -66,5 +67,6 @@ public class TotemOfCorruptionConfig { public int warnWhenAboutToExpire = 5; @Expose + @ConfigLink(owner = TotemOfCorruptionConfig.class, field = "showOverlay") public Position position = new Position(50, 20, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/AnitaShopConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AnitaShopConfig.java index 28823afbe..866145909 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/AnitaShopConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AnitaShopConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class AnitaShopConfig { @@ -26,5 +27,6 @@ public class AnitaShopConfig { public boolean extraFarmingFortune = true; @Expose + @ConfigLink(owner = AnitaShopConfig.class, field = "medalProfitEnabled") public Position medalProfitPos = new Position(206, 158, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java index f52e91ef8..23a0ae259 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class AtmosphericFilterDisplayConfig { @@ -36,8 +37,10 @@ public class AtmosphericFilterDisplayConfig { public boolean everywhere = false; @Expose + @ConfigLink(owner = AtmosphericFilterDisplayConfig.class, field = "enabled") public Position position = new Position(10, 10, true, true); @Expose + @ConfigLink(owner = AtmosphericFilterDisplayConfig.class, field = "everywhere") public Position positionOutside = new Position(20, 20, true, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java index 91da47cba..c8ce586c7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class DicerRngDropTrackerConfig { @@ -20,5 +21,6 @@ public class DicerRngDropTrackerConfig { public boolean hideChat = false; @Expose + @ConfigLink(owner = DicerRngDropTrackerConfig.class, field = "display") public Position pos = new Position(16, -232, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java index 7be7fcf13..794eb7692 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java @@ -13,6 +13,7 @@ import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.Category; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class GardenConfig { @@ -173,6 +174,7 @@ public class GardenConfig { public boolean farmingFortuneForContest = true; @Expose + @ConfigLink(owner = GardenConfig.class, field = "farmingFortuneForContest") public Position farmingFortuneForContestPos = new Position(180, 156, false, true); @Expose @@ -203,6 +205,7 @@ public class GardenConfig { public double jacobContestCustomBpsValue = 19.9; @Expose + @ConfigLink(owner = GardenConfig.class, field = "jacobContextTimes") public Position jacobContextTimesPos = new Position(-359, 149, false, true); @Expose @@ -236,5 +239,6 @@ public class GardenConfig { public boolean showLogBookStats = true; @Expose + @ConfigLink(owner = GardenConfig.class, field = "showLogBookStats") public Position logBookStatsPos = new Position(427, 92, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/SensitivityReducerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/SensitivityReducerConfig.java index f9de50e1c..82573465c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/SensitivityReducerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/SensitivityReducerConfig.java @@ -6,6 +6,7 @@ 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; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; import org.lwjgl.input.Keyboard; @@ -66,5 +67,6 @@ public class SensitivityReducerConfig { public Property<Boolean> onlyPlot = Property.of(true); @Expose + @ConfigLink(owner = SensitivityReducerConfig.class, field = "showGUI") public Position position = new Position(400, 400, 0.8f); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/SkyMartConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/SkyMartConfig.java index e172fcefd..095c3733c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/SkyMartConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/SkyMartConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class SkyMartConfig { @@ -20,5 +21,6 @@ public class SkyMartConfig { public double itemScale = 1; @Expose + @ConfigLink(owner = SkyMartConfig.class, field = "copperPrice") public Position copperPricePos = new Position(211, 132, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/YawPitchDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/YawPitchDisplayConfig.java index 6e69ace46..aec20d3da 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/YawPitchDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/YawPitchDisplayConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class YawPitchDisplayConfig { @@ -58,7 +59,9 @@ public class YawPitchDisplayConfig { public boolean showAlways = false; @Expose + @ConfigLink(owner = YawPitchDisplayConfig.class, field = "enabled") public Position pos = new Position(445, 225, false, true); @Expose + @ConfigLink(owner = YawPitchDisplayConfig.class, field = "showOutsideGarden") public Position posOutside = new Position(445, 225, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/MushroomPetPerkConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/MushroomPetPerkConfig.java index d9ebdeee9..3a994d832 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/MushroomPetPerkConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/MushroomPetPerkConfig.java @@ -6,6 +6,7 @@ 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.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import java.util.ArrayList; @@ -74,5 +75,6 @@ public class MushroomPetPerkConfig { } @Expose + @ConfigLink(owner = MushroomPetPerkConfig.class, field = "enabled") public Position pos = new Position(-112, -143, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/laneswitch/FarmingLaneConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/laneswitch/FarmingLaneConfig.java index 8719fd8ea..afcfbf62b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/laneswitch/FarmingLaneConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/laneswitch/FarmingLaneConfig.java @@ -6,6 +6,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorInfoText; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class FarmingLaneConfig { @@ -27,6 +28,7 @@ public class FarmingLaneConfig { public boolean distanceDisplay = false; @Expose + @ConfigLink(owner = FarmingLaneConfig.class, field = "distanceDisplay") public Position distanceDisplayPosition = new Position(0, 200, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/optimalspeed/OptimalSpeedConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/optimalspeed/OptimalSpeedConfig.java index 57532f5d6..19b617b92 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/optimalspeed/OptimalSpeedConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/optimalspeed/OptimalSpeedConfig.java @@ -28,6 +28,7 @@ public class OptimalSpeedConfig { public boolean signEnabled = true; @Expose + @ConfigLink(owner = OptimalSpeedConfig.class, field = "signEnabled") public Position signPosition = new Position(20, -195, false, true); @Expose 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 1ec7650cd..c6ccfc3e9 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 @@ -6,6 +6,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import org.lwjgl.input.Keyboard; @@ -47,6 +48,7 @@ public class PestFinderConfig { public int showBorderForSeconds = 1; @Expose + @ConfigLink(owner = PestFinderConfig.class, field = "showDisplay") public Position position = new Position(-350, 200, 1.3f); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java index ff3bef9a0..11c4ad69b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestProfitTrackerConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class PestProfitTrackerConfig { @@ -32,5 +33,6 @@ public class PestProfitTrackerConfig { public int timeDisplayed = 30; @Expose + @ConfigLink(owner = PestProfitTrackerConfig.class, field = "enabled") public Position position = new Position(20, 20, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/DropsStatisticsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/DropsStatisticsConfig.java index 46c69da7c..4977b50d9 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/DropsStatisticsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/DropsStatisticsConfig.java @@ -6,6 +6,7 @@ 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.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import java.util.ArrayList; @@ -132,5 +133,6 @@ public class DropsStatisticsConfig { public boolean onlyOnBarn = true; @Expose + @ConfigLink(owner = DropsStatisticsConfig.class, field = "enabled") public Position pos = new Position(5, 20, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/ShoppingListConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/ShoppingListConfig.java index de45d29f2..3155c5b0c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/ShoppingListConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/ShoppingListConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class ShoppingListConfig { @@ -16,6 +17,7 @@ public class ShoppingListConfig { @Expose // TODO renmae "postion" + @ConfigLink(owner = ShoppingListConfig.class, field = "display") public Position pos = new Position(180, 170, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java index fb21e3daf..5163bc4cd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/GUIConfig.java @@ -87,6 +87,7 @@ public class GUIConfig { public boolean realTimeFormatToggle = false; @Expose + @ConfigLink(owner = GUIConfig.class, field = "realTime") public Position realTimePosition = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/InGameDateConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/InGameDateConfig.java index 6514f5183..4e9b34e55 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/InGameDateConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/InGameDateConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class InGameDateConfig { @@ -20,6 +21,7 @@ public class InGameDateConfig { public boolean enabled = false; @Expose + @ConfigLink(owner = InGameDateConfig.class, field = "enabled") public Position position = new Position(10, 10, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/TextBoxConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/TextBoxConfig.java index 2dbe299a1..0006af008 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/TextBoxConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/TextBoxConfig.java @@ -4,6 +4,7 @@ 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.ConfigEditorText; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -27,5 +28,6 @@ public class TextBoxConfig { public Property<String> text = Property.of("&aYour Text Here\\n&bYour new line here"); @Expose + @ConfigLink(owner = TextBoxConfig.class, field = "enabled") public Position position = new Position(10, 80, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/BazaarConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/BazaarConfig.java index ceb8376c2..10d92d16e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/BazaarConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/BazaarConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class BazaarConfig { @@ -27,6 +28,7 @@ public class BazaarConfig { public boolean bestSellMethod = false; @Expose + @ConfigLink(owner = BazaarConfig.class, field = "bestSellMethod") public Position bestSellMethodPos = new Position(394, 142, false, true); @Expose @@ -48,6 +50,7 @@ public class BazaarConfig { public boolean maxPurseItems = false; @Expose + @ConfigLink(owner = BazaarConfig.class, field = "maxPurseItems") public Position maxPurseItemsPosition = new Position(346, 90, true, false); @Expose @@ -57,5 +60,6 @@ public class BazaarConfig { public boolean craftMaterialsFromBazaar = false; @Expose + @ConfigLink(owner = BazaarConfig.class, field = "craftMaterialsFromBazaar") public Position craftMaterialsFromBazaarPosition = new Position(50, 50, true, false); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/itemability/ChickenHeadConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/itemability/ChickenHeadConfig.java index 53ddd2c96..68dce34a5 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/itemability/ChickenHeadConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/itemability/ChickenHeadConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class ChickenHeadConfig { @@ -15,6 +16,7 @@ public class ChickenHeadConfig { public boolean displayTimer = false; @Expose + @ConfigLink(owner = ChickenHeadConfig.class, field = "displayTimer") public Position position = new Position(-372, 73, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/KingTalismanConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/KingTalismanConfig.java index 6b64a3904..7e2956cf6 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/KingTalismanConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/KingTalismanConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class KingTalismanConfig { @@ -21,5 +22,6 @@ public class KingTalismanConfig { public boolean outsideMines = false; @Expose + @ConfigLink(owner = KingTalismanConfig.class, field = "enabled") public Position position = new Position(-400, 220, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java index ce3a21fa6..23ef3437b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java @@ -5,6 +5,7 @@ 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class MiningEventConfig { @@ -58,5 +59,6 @@ public class MiningEventConfig { } @Expose + @ConfigLink(owner = MiningEventConfig.class, field = "enabled") public Position position = new Position(15, 70, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/PowderTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/PowderTrackerConfig.java index ba68910a5..79238b29f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/PowderTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/PowderTrackerConfig.java @@ -6,6 +6,7 @@ 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.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -134,6 +135,7 @@ public class PowderTrackerConfig { } @Expose + @ConfigLink(owner = PowderTrackerConfig.class, field = "enabled") public Position position = new Position(-274, 0, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/minion/MinionsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/minion/MinionsConfig.java index 563587895..6e12b4686 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/minion/MinionsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/minion/MinionsConfig.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class MinionsConfig { @@ -43,6 +44,7 @@ public class MinionsConfig { public boolean xpDisplay = true; @Expose + @ConfigLink(owner = MinionsConfig.class, field = "hopperProfitDisplay") public Position hopperProfitPos = new Position(360, 90, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java index a4ca757a1..8d9cc8926 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java @@ -6,6 +6,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; import org.lwjgl.input.Keyboard; @@ -63,5 +64,6 @@ public class EstimatedItemValueConfig { public boolean ignoreRunes = false; @Expose + @ConfigLink(owner = EstimatedItemValueConfig.class, field = "enabled") public Position itemPriceDataPos = new Position(140, 90, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/KickDurationConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/KickDurationConfig.java index 00bc83ab5..351e34a1c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/KickDurationConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/KickDurationConfig.java @@ -5,6 +5,7 @@ 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.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -30,5 +31,6 @@ public class KickDurationConfig { public Property<Integer> warnTime = Property.of(60); @Expose + @ConfigLink(owner = KickDurationConfig.class, field = "enabled") public Position position = new Position(400, 200, 1.3f); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/MiscConfig.java index 5e3fcb56c..785499f3e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/MiscConfig.java @@ -12,6 +12,7 @@ import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.Category; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import java.util.ArrayList; @@ -167,6 +168,7 @@ public class MiscConfig { public boolean playerMovementSpeed = false; @Expose + @ConfigLink(owner = MiscConfig.class, field = "playerMovementSpeed") public Position playerMovementSpeedPos = new Position(394, 124, false, true); @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/PotionEffectsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/PotionEffectsConfig.java index 289c12317..6ead17186 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/PotionEffectsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/PotionEffectsConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class PotionEffectsConfig { @@ -20,5 +21,6 @@ public class PotionEffectsConfig { public boolean nonGodPotEffectShowMixins = false; @Expose + @ConfigLink(owner = PotionEffectsConfig.class, field = "nonGodPotEffectDisplay") public Position nonGodPotEffectPos = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/QuickModMenuSwitchConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/QuickModMenuSwitchConfig.java index 6b3e63774..2f59eb722 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/QuickModMenuSwitchConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/QuickModMenuSwitchConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class QuickModMenuSwitchConfig { @@ -25,5 +26,6 @@ public class QuickModMenuSwitchConfig { public boolean insidePlayerInventory = false; @Expose + @ConfigLink(owner = QuickModMenuSwitchConfig.class, field = "enabled") public Position pos = new Position(-178, 143, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrevorTheTrapperConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrevorTheTrapperConfig.java index 4f3a5d343..bcfd50e75 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrevorTheTrapperConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrevorTheTrapperConfig.java @@ -7,6 +7,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import org.lwjgl.input.Keyboard; @@ -107,6 +108,7 @@ public class TrevorTheTrapperConfig { } @Expose + @ConfigLink(owner = TrevorTheTrapperConfig.class, field = "dataTracker") public Position position = new Position(10, 80, false, true); @Expose @@ -155,5 +157,6 @@ public class TrevorTheTrapperConfig { public boolean trapperCooldownGui = false; @Expose + @ConfigLink(owner = TrevorTheTrapperConfig.class, field = "trapperCooldownGui") public Position trapperCooldownPos = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/CruxTalismanDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/CruxTalismanDisplayConfig.java index 1539adb7a..4cebd8dd5 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/CruxTalismanDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/CruxTalismanDisplayConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -26,5 +27,6 @@ public class CruxTalismanDisplayConfig { public Property<Boolean> showBonuses = Property.of(true); @Expose + @ConfigLink(owner = CruxTalismanDisplayConfig.class, field = "enabled") public Position position = new Position(144, 139, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java index 5a1d161d1..679a01aa3 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; import io.github.notenoughupdates.moulconfig.observer.Property; @@ -26,6 +27,7 @@ public class RiftTimerConfig { public Property<Boolean> percentage = Property.of(true); @Expose + @ConfigLink(owner = RiftTimerConfig.class, field = "enabled") public Position timerPosition = new Position(10, 10, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/livingcave/LivingMetalSuitProgressConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/livingcave/LivingMetalSuitProgressConfig.java index d1eb8dcf6..bd5aea85a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/livingcave/LivingMetalSuitProgressConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/livingcave/LivingMetalSuitProgressConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class LivingMetalSuitProgressConfig { @@ -20,5 +21,6 @@ public class LivingMetalSuitProgressConfig { public boolean compactWhenMaxed = false; @Expose + @ConfigLink(owner = LivingMetalSuitProgressConfig.class, field = "enabled") public Position position = new Position(100, 100); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/mirrorverse/danceroomhelper/DanceRoomHelperConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/mirrorverse/danceroomhelper/DanceRoomHelperConfig.java index 2f2f6013e..78caa6e41 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/mirrorverse/danceroomhelper/DanceRoomHelperConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/mirrorverse/danceroomhelper/DanceRoomHelperConfig.java @@ -7,6 +7,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.Accordion; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class DanceRoomHelperConfig { @@ -44,5 +45,6 @@ public class DanceRoomHelperConfig { public DanceRoomFormattingConfig danceRoomFormatting = new DanceRoomFormattingConfig(); @Expose + @ConfigLink(owner = DanceRoomHelperConfig.class, field = "enabled") public Position position = new Position(442, 239, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminTrackerConfig.java index d9baa7c13..a40dbb0c6 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/westvillage/VerminTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class VerminTrackerConfig { @@ -32,6 +33,7 @@ public class VerminTrackerConfig { public boolean hideChat = false; @Expose + @ConfigLink(owner = VerminTrackerConfig.class, field = "enabled") public Position position = new Position(16, -232, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java index 2d6c58835..e8e018238 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java @@ -6,6 +6,7 @@ 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class RiftInventoryValueConfig { @@ -50,5 +51,6 @@ public class RiftInventoryValueConfig { } @Expose + @ConfigLink(owner = RiftInventoryValueConfig.class, field = "enabled") public Position position = new Position(126, 156, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemProfitTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemProfitTrackerConfig.java index f7a7c43bf..b0933582d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemProfitTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemProfitTrackerConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class ItemProfitTrackerConfig { @@ -16,6 +17,7 @@ public class ItemProfitTrackerConfig { public boolean enabled = true; @Expose + @ConfigLink(owner = ItemProfitTrackerConfig.class, field = "enabled") public Position pos = new Position(20, 20, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/RngMeterDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/RngMeterDisplayConfig.java index bef87ed38..da95fc532 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/RngMeterDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/RngMeterDisplayConfig.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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class RngMeterDisplayConfig { @@ -25,6 +26,7 @@ public class RngMeterDisplayConfig { public boolean hideChat = true; @Expose + @ConfigLink(owner = RngMeterDisplayConfig.class, field = "enabled") public Position pos = new Position(410, 110, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/blaze/BlazeHellionConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/blaze/BlazeHellionConfig.java index 73ca4a258..a42d915df 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/blaze/BlazeHellionConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/blaze/BlazeHellionConfig.java @@ -6,6 +6,7 @@ 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.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; public class BlazeHellionConfig { @@ -67,8 +68,10 @@ public class BlazeHellionConfig { public boolean hideDaggerWarning = false; @Expose + @ConfigLink(owner = BlazeHellionConfig.class, field = "daggers") public Position positionTop = new Position(-475, 173, 4.4f, true); @Expose + @ConfigLink(owner = BlazeHellionConfig.class, field = "daggers") public Position positionBottom = new Position(-475, 230, 3.2f, true); } |