diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2023-09-02 09:18:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 09:18:48 +0200 |
commit | d725572d7a3a41d0c7a588f16f6c9b6bf6aa9ad8 (patch) | |
tree | c73336a306271cf859da5b0fa6584c0868006eeb /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 8338eebd6d73e3034c3d7e96fb0beb2f2ad1476a (diff) | |
download | skyhanni-d725572d7a3a41d0c7a588f16f6c9b6bf6aa9ad8.tar.gz skyhanni-d725572d7a3a41d0c7a588f16f6c9b6bf6aa9ad8.tar.bz2 skyhanni-d725572d7a3a41d0c7a588f16f6c9b6bf6aa9ad8.zip |
Following Line (#428)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index 9600eb699..9a4d7565a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -808,6 +808,48 @@ public class MiscConfig { } @Expose + @ConfigOption(name = "Cosmetic", desc = "") + @Accordion + public CosmeticConfig cosmeticConfig = new CosmeticConfig(); + + public static class CosmeticConfig { + + @Expose + @ConfigOption(name = "Following Line", desc = "") + @Accordion + public FollowingLineConfig followingLineConfig = new FollowingLineConfig(); + + public static class FollowingLineConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Draw a colored line behind the player.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Line color", desc = "Color of the line.") + @ConfigEditorColour + public String lineColor = "0:255:255:255:255"; + + @Expose + @ConfigOption(name = "Time Alive", desc = "Time in seconds until the line fades out.") + @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 30) + public int secondsAlive = 3; + + @Expose + @ConfigOption(name = "Max Line Width", desc = "Max width of the line.") + @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10) + public int lineWidth = 4; + + @Expose + @ConfigOption(name = "Behind Blocks", desc = "Show behind blocks.") + @ConfigEditorBoolean + public boolean behindBlocks = false; + } + } + + @Expose @ConfigOption(name = "Exp Bottles", desc = "Hides all the experience orbs lying on the ground.") @ConfigEditorBoolean @FeatureToggle |