diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-04-06 01:43:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 01:43:59 +0200 |
commit | 2d829352772acc4b403d4fe6682e995f969fb449 (patch) | |
tree | 0467c7705f45b97783ee08c3e789722a1412009a /src/main/java/at/hannibal2/skyhanni/config | |
parent | 45a4478cfd914ab78b8b99fa5eee47548119d072 (diff) | |
download | skyhanni-2d829352772acc4b403d4fe6682e995f969fb449.tar.gz skyhanni-2d829352772acc4b403d4fe6682e995f969fb449.tar.bz2 skyhanni-2d829352772acc4b403d4fe6682e995f969fb449.zip |
Feature: Crystal Hollow Area Walls (#1266)
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/mining/AreaWallsConfig.java | 20 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java | 5 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/AreaWallsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/AreaWallsConfig.java new file mode 100644 index 000000000..5e2efff9d --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/AreaWallsConfig.java @@ -0,0 +1,20 @@ +package at.hannibal2.skyhanni.config.features.mining; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import com.google.gson.annotations.Expose; +import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigOption; + +public class AreaWallsConfig { + + @Expose + @ConfigOption(name = "Area Walls", desc = "Show walls between the main areas of the Crystal Hollows.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption(name = "In Nucleus", desc = "Shows the walls also when inside the Nucleus.") + @ConfigEditorBoolean + public boolean nucleus = false; +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java index 9a16e7ba8..77d70ea7a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java @@ -29,6 +29,11 @@ public class MiningConfig { public DeepCavernsParkourConfig deepCavernsParkour = new DeepCavernsParkourConfig(); @Expose + @ConfigOption(name = "Area Walls", desc = "") + @Accordion + public AreaWallsConfig crystalHollowsAreaWalls = new AreaWallsConfig(); + + @Expose @ConfigOption(name = "Highlight Commission Mobs", desc = "Highlight Mobs that are part of active commissions.") @ConfigEditorBoolean @FeatureToggle |