summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-09-11 13:56:56 +0200
committerGitHub <noreply@github.com>2024-09-11 13:56:56 +0200
commitc48d82d06f375139f1e0a0a32ffd6d2f4aa98546 (patch)
treeae3213d6bc097abb3f288bd0e8ea07badfafd1db /src/main/java/at/hannibal2/skyhanni/config
parent7aea6aa7b3774a3797f68a503eb42e99e88c2e56 (diff)
downloadskyhanni-c48d82d06f375139f1e0a0a32ffd6d2f4aa98546.tar.gz
skyhanni-c48d82d06f375139f1e0a0a32ffd6d2f4aa98546.tar.bz2
skyhanni-c48d82d06f375139f1e0a0a32ffd6d2f4aa98546.zip
Feature: Pet Nametag (#1880)
Co-authored-by: Empa <42304516+ItsEmpa@users.noreply.github.com> Co-authored-by: Cal <cwolfson58@gmail.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetNametagConfig.java19
2 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetConfig.java
index 8cd295249..02c2b2ed4 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetConfig.java
@@ -31,6 +31,11 @@ public class PetConfig {
public PetExperienceToolTipConfig petExperienceToolTip = new PetExperienceToolTipConfig();
@Expose
+ @ConfigOption(name = "Pet Nametag", desc = "")
+ @Accordion
+ public PetNametagConfig nametag = new PetNametagConfig();
+
+ @Expose
@ConfigOption(name = "Hide Autopet Messages", desc = "Hide the autopet messages from chat.\n" +
"§eRequires the display to be enabled.")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetNametagConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetNametagConfig.java
new file mode 100644
index 000000000..4da1b8160
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/pets/PetNametagConfig.java
@@ -0,0 +1,19 @@
+package at.hannibal2.skyhanni.config.features.misc.pets;
+
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class PetNametagConfig {
+
+ @Expose
+ @ConfigOption(name = "Hide Pet Level", desc = "Hide the pet level above the pet.")
+ @ConfigEditorBoolean
+ public boolean hidePetLevel = false;
+
+ @Expose
+ @ConfigOption(name = "Hide Max Pet Level", desc = "Hide the pet level above the pet if it is max level.")
+ @ConfigEditorBoolean
+ public boolean hideMaxPetLevel = false;
+
+}