diff options
| author | HiZe_ <superhize@hotmail.com> | 2023-07-04 14:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-04 14:25:48 +0200 |
| commit | a58f5cea0a3378b0f32a57750ad5c750aeec92d3 (patch) | |
| tree | b2028f6b3fe710b61637b5fa7b43e8b5011245e9 /src/main/java/at/hannibal2/skyhanni/config/features | |
| parent | dd1dc872a97dcc14fe7842fc69c1bd34b44223fe (diff) | |
| download | skyhanni-a58f5cea0a3378b0f32a57750ad5c750aeec92d3.tar.gz skyhanni-a58f5cea0a3378b0f32a57750ad5c750aeec92d3.tar.bz2 skyhanni-a58f5cea0a3378b0f32a57750ad5c750aeec92d3.zip | |
Merge pull request #278
* start
* i sleep
* hide others players
* change
* thing
* useless import
* config option to change space between lines of text
* removed useless val
* Code cleanup
* Merge branch 'beta' into danceroom_helper
* use repo for instructions
* merged beta
* display a message when instructions list is empty
* more beautiful colors and moved category into mirror verse
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java index f0457530d..d3ec06d2b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java @@ -2,10 +2,7 @@ package at.hannibal2.skyhanni.config.features; import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; -import io.github.moulberry.moulconfig.annotations.Accordion; -import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; -import io.github.moulberry.moulconfig.annotations.ConfigEditorColour; -import io.github.moulberry.moulconfig.annotations.ConfigOption; +import io.github.moulberry.moulconfig.annotations.*; import io.github.moulberry.moulconfig.observer.Property; public class RiftConfig { @@ -172,8 +169,40 @@ public class RiftConfig { public static class MirrorVerse { + @ConfigOption(name = "Dance Room Helper", desc = "") + @Accordion @Expose - @ConfigOption(name = "Laser Parkour", desc = "Highlights the location of the invisible blocks.") + public DanceRoomHelper danceRoomHelper = new DanceRoomHelper(); + + public static class DanceRoomHelper{ + + @Expose + @ConfigOption(name= "Enabled", desc = "Helps solving the dance room in the mirror verse by showing multiple tasks at once.") + @ConfigEditorBoolean + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Lines to show", desc = "How many tasks you should see.") + @ConfigEditorSlider(minStep = 1, maxValue = 49, minValue = 1) + public int lineToShow = 3; + + @Expose + @ConfigOption(name = "Space", desc = "Change the space between each line.") + @ConfigEditorSlider(minStep = 1, maxValue = 10, minValue = -5) + public int extraSpace = 0; + + @Expose + @ConfigOption(name = "Hide others players", desc = "Hide other players inside the dance room.") + @ConfigEditorBoolean + public boolean hidePlayers = false; + + @Expose + public Position position = new Position(442, 239, false, true); + + } + + @Expose + @ConfigOption(name = "Tubulator", desc = "Highlights the location of the invisible blocks (Laser Parkour).") @ConfigEditorBoolean public boolean laserParkour = true; @@ -202,4 +231,5 @@ public class RiftConfig { public boolean waypoints = true; } + } |
