aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java')
-rw-r--r--src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java81
1 files changed, 41 insertions, 40 deletions
diff --git a/src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java b/src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java
index fd548d6a..1bfd1b3c 100644
--- a/src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java
+++ b/src/main/java/de/hysky/skyblocker/config/SkyblockerConfig.java
@@ -414,30 +414,30 @@ public class SkyblockerConfig {
@SerialEntry
public Alignment alignment = Alignment.MIDDLE;
}
- public static class SearchOverlay {
- @SerialEntry
- public boolean enableBazaar = true;
-
- @SerialEntry
- public boolean enableAuctionHouse = true;
- @SerialEntry
- public boolean keepPreviousSearches = false;
-
- @SerialEntry
- public int maxSuggestions = 3;
-
- @SerialEntry
- public int historyLength = 3;
+ public enum Direction {
+ HORIZONTAL, VERTICAL;
- @SerialEntry
- public boolean enableCommands = false;
+ @Override
+ public String toString() {
+ return switch (this) {
+ case HORIZONTAL -> "Horizontal";
+ case VERTICAL -> "Vertical";
+ };
+ }
+ }
- @SerialEntry
- public List<String> bazaarHistory = new ArrayList<>();
+ public enum Alignment {
+ LEFT, RIGHT, MIDDLE;
- @SerialEntry
- public List<String> auctionHistory = new ArrayList<>();
+ @Override
+ public String toString() {
+ return switch (this) {
+ case LEFT -> "Left";
+ case RIGHT -> "Right";
+ case MIDDLE -> "Middle";
+ };
+ }
}
public static class TeleportOverlay {
@@ -468,29 +468,30 @@ public class SkyblockerConfig {
public float flameOpacity = 0f;
}
- public enum Direction {
- HORIZONTAL, VERTICAL;
+ public static class SearchOverlay {
+ @SerialEntry
+ public boolean enableBazaar = true;
- @Override
- public String toString() {
- return switch (this) {
- case HORIZONTAL -> "Horizontal";
- case VERTICAL -> "Vertical";
- };
- }
- }
+ @SerialEntry
+ public boolean enableAuctionHouse = true;
- public enum Alignment {
- LEFT, RIGHT, MIDDLE;
+ @SerialEntry
+ public boolean keepPreviousSearches = false;
- @Override
- public String toString() {
- return switch (this) {
- case LEFT -> "Left";
- case RIGHT -> "Right";
- case MIDDLE -> "Middle";
- };
- }
+ @SerialEntry
+ public int maxSuggestions = 3;
+
+ @SerialEntry
+ public int historyLength = 3;
+
+ @SerialEntry
+ public boolean enableCommands = false;
+
+ @SerialEntry
+ public List<String> bazaarHistory = new ArrayList<>();
+
+ @SerialEntry
+ public List<String> auctionHistory = new ArrayList<>();
}
public static class RichPresence {