aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-07-05 12:29:49 +0200
committerGitHub <noreply@github.com>2023-07-05 12:29:49 +0200
commitc4092f9f36ef2d6a1914ee5ef606522d35e14cdc (patch)
tree5f606fa38d17f3e2471e75060c06acb9f65a2c81 /src/main/java/at/hannibal2/skyhanni/config
parent5bedd8978dc05f60ef752a95a2062e99be41281c (diff)
downloadskyhanni-c4092f9f36ef2d6a1914ee5ef606522d35e14cdc.tar.gz
skyhanni-c4092f9f36ef2d6a1914ee5ef606522d35e14cdc.tar.bz2
skyhanni-c4092f9f36ef2d6a1914ee5ef606522d35e14cdc.zip
mirror verse jump and run (#265)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Roman / Linnea Gräf <nea@nea.moe>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java37
2 files changed, 36 insertions, 3 deletions
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