aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-12 00:01:31 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-12 00:01:31 +0200
commitc6b688f864c28fcd7c1cbcb248086e5caee7f230 (patch)
treedc3a1f86ae8fa46d520567a668dbff2be181a9ac /src/main/java/at/hannibal2/skyhanni/config/features
parent8e55249bf19a44d829d802f14d31668a12239a12 (diff)
downloadskyhanni-c6b688f864c28fcd7c1cbcb248086e5caee7f230.tar.gz
skyhanni-c6b688f864c28fcd7c1cbcb248086e5caee7f230.tar.bz2
skyhanni-c6b688f864c28fcd7c1cbcb248086e5caee7f230.zip
edited features order and made better wording
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/ItemAbilities.java37
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Misc.java10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java18
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Summonings.java (renamed from src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java)32
5 files changed, 58 insertions, 42 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java b/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java
index 0aa24cb28..ad0a32b74 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.config.core.config.annotations.*;
import com.google.gson.annotations.Expose;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
public class Inventory {
@@ -47,7 +48,7 @@ public class Inventory {
"\u00a7bCrimson Armor",
}
)
- public List<Integer> itemNumberAsStackSize = new ArrayList<>(3);
+ public List<Integer> itemNumberAsStackSize = new ArrayList<>(Collections.singletonList(3));
@Expose
@ConfigOption(name = "Sack Name", desc = "Show an abbreviation of the Sack name.")
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ItemAbilities.java b/src/main/java/at/hannibal2/skyhanni/config/features/ItemAbilities.java
new file mode 100644
index 000000000..38cb20940
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/ItemAbilities.java
@@ -0,0 +1,37 @@
+package at.hannibal2.skyhanni.config.features;
+
+import at.hannibal2.skyhanni.config.core.config.annotations.*;
+import com.google.gson.annotations.Expose;
+
+public class ItemAbilities {
+
+ @Expose
+ @ConfigOption(name = "Ability Cooldown", desc = "Show the cooldown of item abilities.")
+ @ConfigEditorBoolean
+ public boolean itemAbilityCooldown = false;
+
+ @Expose
+ @ConfigOption(name = "Ability Cooldown Background", desc = "Show the cooldown color of item abilities in the background.")
+ @ConfigEditorBoolean
+ public boolean itemAbilityCooldownBackground = false;
+
+ @Expose
+ @ConfigOption(name = "Fire Veil", desc = "")
+ @ConfigEditorAccordion(id = 1)
+ public boolean fireVeilWand = false;
+
+ @Expose
+ @ConfigOption(name = "Fire Veil Design", desc = "Changes the flame particles of the Fire Veil Wand ability")
+ @ConfigEditorDropdown(values = {"Particles", "Line", "Off"})
+ @ConfigAccordionId(id = 1)
+ public int fireVeilWandDisplay = 0;
+
+ @Expose
+ @ConfigOption(
+ name = "Line Color",
+ desc = "Changes the color of the Fire Veil Wand line"
+ )
+ @ConfigEditorColour
+ @ConfigAccordionId(id = 1)
+ public String fireVeilWandDisplayColor = "0:245:255:85:85";
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
index cb9071510..6fa5b8b2d 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
@@ -52,14 +52,4 @@ public class Misc {
@ConfigOption(name = "Corrupted Mob Highlight", desc = "Highlight corrupted mobs in purple color")
@ConfigEditorBoolean
public boolean corruptedMobHighlight = false;
-
- @Expose
- @ConfigOption(name = "Slayer Miniboss Highlight", desc = "Highlight slayer miniboss in blue color")
- @ConfigEditorBoolean
- public boolean slayerMinibossHighlight = false;
-
- @Expose
- @ConfigOption(name = "Slayer Enderman Beacon", desc = "Highlight the enderman slayer Yang Glyph (Beacon) in red color (supports beacon in hand and beacon flying)")
- @ConfigEditorBoolean
- public boolean slayerEndermanBeacon = false;
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java
new file mode 100644
index 000000000..cac13b109
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java
@@ -0,0 +1,18 @@
+package at.hannibal2.skyhanni.config.features;
+
+import at.hannibal2.skyhanni.config.core.config.annotations.ConfigEditorBoolean;
+import at.hannibal2.skyhanni.config.core.config.annotations.ConfigOption;
+import com.google.gson.annotations.Expose;
+
+public class Slayer {
+
+ @Expose
+ @ConfigOption(name = "Slayer Miniboss Highlight", desc = "Highlight slayer miniboss in blue color")
+ @ConfigEditorBoolean
+ public boolean slayerMinibossHighlight = false;
+
+ @Expose
+ @ConfigOption(name = "Slayer Enderman Beacon", desc = "Highlight the enderman slayer Yang Glyph (Beacon) in red color (supports beacon in hand and beacon flying)")
+ @ConfigEditorBoolean
+ public boolean slayerEndermanBeacon = false;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java b/src/main/java/at/hannibal2/skyhanni/config/features/Summonings.java
index feaf50a60..88253fb0a 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Summonings.java
@@ -4,17 +4,7 @@ import at.hannibal2.skyhanni.config.core.config.Position;
import at.hannibal2.skyhanni.config.core.config.annotations.*;
import com.google.gson.annotations.Expose;
-public class Abilities {
-
- @Expose
- @ConfigOption(name = "Ability Cooldown", desc = "Show the cooldown of item abilities.")
- @ConfigEditorBoolean
- public boolean itemAbilityCooldown = false;
-
- @Expose
- @ConfigOption(name = "Ability Cooldown Background", desc = "Show the cooldown color of item abilities in the background.")
- @ConfigEditorBoolean
- public boolean itemAbilityCooldownBackground = false;
+public class Summonings {
@Expose
@ConfigOption(name = "Summoning Soul Display", desc = "Show the name of dropped summoning souls laying on the ground. " +
@@ -50,24 +40,4 @@ public class Abilities {
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
public boolean summoningMobColored = false;
-
- @Expose
- @ConfigOption(name = "Fire Veil", desc = "")
- @ConfigEditorAccordion(id = 1)
- public boolean fireVeilWand = false;
-
- @Expose
- @ConfigOption(name = "Fire Veil Design", desc = "Changes the flame particles of the Fire Veil Wand ability")
- @ConfigEditorDropdown(values = {"Particles", "Line", "Off"})
- @ConfigAccordionId(id = 1)
- public int fireVeilWandDisplay = 0;
-
- @Expose
- @ConfigOption(
- name = "Line Color",
- desc = "Changes the color of the Fire Veil Wand line"
- )
- @ConfigEditorColour
- @ConfigAccordionId(id = 1)
- public String fireVeilWandDisplayColor = "0:245:255:85:85";
}