diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-08-26 21:05:20 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-08-26 21:05:20 +0200 |
commit | ddbf374e9302ae47d43aa981c0caf33a264b2496 (patch) | |
tree | 1e5f4dc18170060d204164373f2261b14f0f8e8d /src/main/java/at/hannibal2/skyhanni/config | |
parent | d3e2991644880b2766d9d50b7419466ece9027c1 (diff) | |
download | skyhanni-ddbf374e9302ae47d43aa981c0caf33a264b2496.tar.gz skyhanni-ddbf374e9302ae47d43aa981c0caf33a264b2496.tar.bz2 skyhanni-ddbf374e9302ae47d43aa981c0caf33a264b2496.zip |
added summoning mob features
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
3 files changed, 36 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index ba3b49129..16e2b42f0 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -71,6 +71,11 @@ public class Features { editOverlay(activeConfigCategory, 200, 16, minions.hopperProfitPos); return; } + + if (runnableId.equals("summoningMobDisplay")) { + editOverlay(activeConfigCategory, 200, 16, abilities.summoningMobDisplayPos); + return; + } } @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java index 646047710..6a6995b23 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java @@ -1,7 +1,7 @@ package at.hannibal2.skyhanni.config.features; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorBoolean; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigOption; +import at.hannibal2.skyhanni.config.gui.core.config.Position; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.*; import com.google.gson.annotations.Expose; public class Abilities { @@ -15,4 +15,27 @@ public class Abilities { @ConfigOption(name = "Ability Cooldown Background", desc = "Show the cooldown color of item abilities in the background.") @ConfigEditorBoolean public boolean itemAbilityCooldownBackground = false; + + @Expose + @ConfigOption(name = "Summoning Mob", desc = "") + @ConfigEditorAccordion(id = 0) + public boolean summoningMob = false; + + @Expose + @ConfigOption(name = "Summoning Mob Display", desc = "Show the health of your spawned summoning mobs") + @ConfigEditorBoolean + @ConfigAccordionId(id = 0) + public boolean summoningMobDisplay = false; + + @Expose + @ConfigOption(name = "Summoning Mob Display Position", desc = "") + @ConfigEditorButton(runnableId = "summoningMobDisplay", buttonText = "Edit") + @ConfigAccordionId(id = 0) + public Position summoningMobDisplayPos = new Position(10, 10, false, true); + + @Expose + @ConfigOption(name = "Summoning Mob Nametag", desc = "Hide the nametag of your spawned summoning mobs") + @ConfigEditorBoolean + @ConfigAccordionId(id = 0) + public boolean summoningMobHideNametag = false; } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java b/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java index bdd7e8f0d..c7bfa2973 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java @@ -10,38 +10,38 @@ public class Chat { @Expose @ConfigOption(name = "Chat Filter Types", desc = "") - @ConfigEditorAccordion(id = 1) + @ConfigEditorAccordion(id = 0) public boolean filterTypes = false; @Expose @ConfigOption(name = "HyPixel Hub", desc = "Block messages outside SkyBlock in the HyPixel lobby: player joins, loot boxes, prototype lobby messages, radiating generosity and HyPixel tournaments.") @ConfigEditorBoolean - @ConfigAccordionId(id = 1) + @ConfigAccordionId(id = 0) public boolean hypixelHub = false; @Expose @ConfigOption(name = "Empty", desc = "Hide all the empty messages from the chat.") @ConfigEditorBoolean - @ConfigAccordionId(id = 1) + @ConfigAccordionId(id = 0) public boolean empty = false; @Expose @ConfigOption(name = "Warping", desc = "Block 'sending request to join ..' and 'warping ..' messages.") @ConfigEditorBoolean - @ConfigAccordionId(id = 1) + @ConfigAccordionId(id = 0) public boolean warping = false; @Expose @ConfigOption(name = "Welcome", desc = "Hide the 'welcome to skyblock' message.") @ConfigEditorBoolean - @ConfigAccordionId(id = 1) + @ConfigAccordionId(id = 0) public boolean welcome = false; //TODO remove @Expose @ConfigOption(name = "Others", desc = "Hide other annoying messages.") @ConfigEditorBoolean - @ConfigAccordionId(id = 1) + @ConfigAccordionId(id = 0) public boolean others = false; @Expose |