diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2023-10-28 19:31:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 19:31:28 +0200 |
commit | 5987dd18a6fc7709d079c81e2062c67b7e62581b (patch) | |
tree | f0cc0fa846efd6516f8c161377433c210f0b63ad /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | e316790f7132430c6d4e7621734999244fb2d34d (diff) | |
download | skyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.tar.gz skyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.tar.bz2 skyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.zip |
Feature: Arrow Trail (#601)
Added Arrow Trail Cosmetic #601
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java | 45 |
1 files changed, 45 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 c55c7b3d1..5f21de197 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -490,6 +490,51 @@ public class MiscConfig { @ConfigEditorBoolean public boolean behindBlocks = false; } + + @Expose + @ConfigOption(name = "Arrow Trail", desc = "") + @Accordion + public ArrowTrailConfig arrowTrailConfig = new ArrowTrailConfig(); + + public static class ArrowTrailConfig{ + @Expose + @ConfigOption(name = "Enabled", desc = "Draw a colored line behind the player.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Hide Nonplayer Arrows", desc = "Only shows the arrows the player has shot") + @ConfigEditorBoolean + @FeatureToggle + public boolean hideOtherArrows = true; + + @Expose + @ConfigOption(name = "Arrow Color", desc = "Color of the line.") + @ConfigEditorColour + public String arrowColor = "0:200:85:255:85"; + + @Expose + @ConfigOption(name = "Player Arrows", desc = "Different Color for arrow that you have shot") + @ConfigEditorBoolean + @FeatureToggle + public boolean handlePlayerArrowsDifferently = false; + + @Expose + @ConfigOption(name = "Player Arrow Color", desc = "Color of the line.") + @ConfigEditorColour + public String playerArrowColor = "0:200:85:255:255"; + + @Expose + @ConfigOption(name = "Time Alive", desc = "Time in seconds until the trail fades out.") + @ConfigEditorSlider(minStep = 0.1f, minValue = 0.1f, maxValue = 30) + public float secondsAlive = 0.5f; + + @Expose + @ConfigOption(name = "Line Width", desc = "Width of the line.") + @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10) + public int lineWidth = 4; + } } |