diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 11:26:50 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 11:26:50 +0100 |
commit | 62f4d8cd10210ea255860f37ffde62180d3400fe (patch) | |
tree | 6f9401c22e8355c249a2f4d06de1920ba20d72b4 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 0c42c67396e2c77bd2dc5db78c1b3199f9f1a532 (diff) | |
download | skyhanni-62f4d8cd10210ea255860f37ffde62180d3400fe.tar.gz skyhanni-62f4d8cd10210ea255860f37ffde62180d3400fe.tar.bz2 skyhanni-62f4d8cd10210ea255860f37ffde62180d3400fe.zip |
Added Deep Caverns Parkour.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/DeepCavernsParkourConfig.java | 38 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java | 5 |
2 files changed, 43 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/DeepCavernsParkourConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/DeepCavernsParkourConfig.java new file mode 100644 index 000000000..ab1ba6a49 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/DeepCavernsParkourConfig.java @@ -0,0 +1,38 @@ +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.ConfigEditorColour; +import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider; +import io.github.moulberry.moulconfig.annotations.ConfigOption; +import io.github.moulberry.moulconfig.observer.Property; + +public class DeepCavernsParkourConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Shows a parkour to the bottom of Deep Caverns and to Rhys.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Look Ahead", desc = "Change how many waypoints should be shown in front of you.") + @ConfigEditorSlider(minStep = 1, maxValue = 30, minValue = 1) + public Property<Integer> lookAhead = Property.of(3); + + @Expose + @ConfigOption(name = "Rainbow Color", desc = "Show the rainbow color effect instead of a boring monochrome.") + @ConfigEditorBoolean + public Property<Boolean> rainbowColor = Property.of(true); + + @Expose + @ConfigOption(name = "Monochrome Color", desc = "Set a boring monochrome color for the parkour platforms.") + @ConfigEditorColour + public Property<String> monochromeColor = Property.of("0:60:0:0:255"); + + @Expose + @ConfigOption(name = "Hilight all Lines", desc = "Show all lines in gray. Useful for debugging.") + @ConfigEditorBoolean + public boolean highlightAllLines = 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 feeb465ab..462908f6e 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 @@ -19,6 +19,11 @@ public class MiningConfig { public KingTalismanConfig kingTalisman = new KingTalismanConfig(); @Expose + @ConfigOption(name = "Deep Caverns Parkour", desc = "") + @Accordion + public DeepCavernsParkourConfig deepCavernsParkour = new DeepCavernsParkourConfig(); + + @Expose @ConfigOption(name = "Highlight Commission Mobs", desc = "Highlight Mobs that are part of active commissions.") @ConfigEditorBoolean @FeatureToggle |