From c4092f9f36ef2d6a1914ee5ef606522d35e14cdc Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Wed, 5 Jul 2023 12:29:49 +0200 Subject: mirror verse jump and run (#265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Roman / Linnea Gräf --- .../hannibal2/skyhanni/config/commands/Commands.kt | 2 +- .../skyhanni/config/features/RiftConfig.java | 37 ++++++++++++++++++++-- 2 files changed, 36 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index b41ec2227..cec63122e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -92,7 +92,7 @@ object Commands { registerCommand("shreloadlocalrepo") { SkyHanniMod.repo.reloadLocalRepo() } registerCommand("shstoplisteners") { SkyHanniTestCommand.stopListeners() } registerCommand("shreloadlisteners") { SkyHanniTestCommand.reloadListeners() } - registerCommand("shcopylocation") { SkyHanniTestCommand.copyLocation() } + registerCommand("shcopylocation") { SkyHanniTestCommand.copyLocation(it) } registerCommand("shcopyentities") { CopyNearbyEntitiesCommand.command(it) } registerCommand("shcopytablist") { CopyTabListCommand.command(it) } registerCommand("shcopyscoreboard") { CopyScoreboardCommand.command(it) } 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 e957ed560..a6c11495d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java @@ -174,10 +174,10 @@ public class RiftConfig { @Expose public DanceRoomHelper danceRoomHelper = new DanceRoomHelper(); - public static class DanceRoomHelper{ + public static class DanceRoomHelper { @Expose - @ConfigOption(name= "Enabled", desc = "Helps to solve the dance room in the mirror verse by showing multiple tasks at once.") + @ConfigOption(name = "Enabled", desc = "Helps to solve the dance room in the mirror verse by showing multiple tasks at once.") @ConfigEditorBoolean public boolean enabled = false; @@ -201,6 +201,39 @@ public class RiftConfig { } + @ConfigOption(name = "Upside Down Parkour", desc = "") + @Accordion + @Expose + public UpsideDownParkour upsideDownParkour = new UpsideDownParkour(); + + public static class UpsideDownParkour { + + @Expose + @ConfigOption(name = "Enabled", desc = "Helps to solve the upside down parkour in the mirror verse by showing the correct way.") + @ConfigEditorBoolean + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Look Ahead", desc = "How many plattforms should be shown in front of you?") + @ConfigEditorSlider(minStep = 1, maxValue = 9, minValue = 1) + public int lookAhead = 2; + + @Expose + @ConfigOption(name = "Rainbow Color", desc = "Show the rainbow color effect instead of a boring monochrome.") + @ConfigEditorBoolean + public boolean rainbowColor = true; + + @Expose + @ConfigOption(name = "Monochrome Color", desc = "Set a boring monochrome color for the parkour platforms.") + @ConfigEditorColour + public String monochromeColor = "0:60:0:0:255"; + + @Expose + @ConfigOption(name = "Hide others players", desc = "Hide other players while doing the upside down parkour.") + @ConfigEditorBoolean + public boolean hidePlayers = false; + } + @Expose @ConfigOption(name = "Tubulator", desc = "Highlights the location of the invisible blocks (Laser Parkour).") @ConfigEditorBoolean -- cgit