diff options
| author | Lorenz <lo.scherf@gmail.com> | 2022-08-24 16:26:54 +0200 |
|---|---|---|
| committer | Lorenz <lo.scherf@gmail.com> | 2022-08-24 16:26:54 +0200 |
| commit | 1ea9026acb04504200892b67c81c60ee64723b12 (patch) | |
| tree | 0d20184c03e5a634cb4827ba0fa6f8d9b6799ece /src/main/java/at/hannibal2/skyhanni/config | |
| parent | ff5e79753e61bfec2affa74d3a8c65d7f8a7b77f (diff) | |
| download | skyhanni-1ea9026acb04504200892b67c81c60ee64723b12.tar.gz skyhanni-1ea9026acb04504200892b67c81c60ee64723b12.tar.bz2 skyhanni-1ea9026acb04504200892b67c81c60ee64723b12.zip | |
formatting dungeon features
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 4 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Dungeon.java | 39 |
2 files changed, 30 insertions, 13 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index 56a78c3c8..ba3b49129 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -37,8 +37,8 @@ public class Features { return; } - if (runnableId.equals("dungeonMilestoneDisplay")) { - editOverlay(activeConfigCategory, 200, 16, dungeon.milestoneDisplayPos); + if (runnableId.equals("dungeonMilestonesDisplay")) { + editOverlay(activeConfigCategory, 200, 16, dungeon.showMileStonesDisplayPos); return; } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Dungeon.java b/src/main/java/at/hannibal2/skyhanni/config/features/Dungeon.java index 7be3f6902..74d2a076c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Dungeon.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Dungeon.java @@ -1,9 +1,7 @@ package at.hannibal2.skyhanni.config.features; import at.hannibal2.skyhanni.config.gui.core.config.Position; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorBoolean; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorButton; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigOption; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.*; import com.google.gson.annotations.Expose; public class Dungeon { @@ -13,33 +11,52 @@ public class Dungeon { @ConfigEditorBoolean public boolean highlightClickedBlocks = false; + @ConfigOption(name = "Milestones", desc = "") + @ConfigEditorAccordion(id = 0) + public boolean showMilestone = false; + @Expose - @ConfigOption(name = "Milestone Display", desc = "Show the current milestone inside Dungeons.") + @ConfigOption(name = "Milestones Display", desc = "Show the current milestone inside Dungeons.") @ConfigEditorBoolean - public boolean showMilestoneDisplay = false; + @ConfigAccordionId(id = 0) + public boolean showMilestonesDisplay = false; @Expose @ConfigOption(name = "Milestone Display Position", desc = "") - @ConfigEditorButton(runnableId = "dungeonMilestoneDisplay", buttonText = "Edit") - public Position milestoneDisplayPos = new Position(10, 10, false, true); + @ConfigEditorButton(runnableId = "dungeonMilestonesDisplay", buttonText = "Edit") + @ConfigAccordionId(id = 0) + public Position showMileStonesDisplayPos = new Position(10, 10, false, true); + + @ConfigOption(name = "Death Counter", desc = "") + @ConfigEditorAccordion(id = 1) + public boolean deathCounter = false; @Expose - @ConfigOption(name = "Death Counter", desc = "Display the total amount of deaths in the current dungeon.") + @ConfigOption(name = "Death Counter Display", desc = "Display the total amount of deaths in the current dungeon.") @ConfigEditorBoolean - public boolean deathCounter = false; + @ConfigAccordionId(id = 1) + public boolean deathCounterDisplay = false; @Expose @ConfigOption(name = "Death Counter Position", desc = "") @ConfigEditorButton(runnableId = "dungeonDeathCounter", buttonText = "Edit") + @ConfigAccordionId(id = 1) public Position deathCounterPos = new Position(10, 10, false, true); + @ConfigOption(name = "Clean End", desc = "") + @ConfigEditorAccordion(id = 2) + public boolean cleanEnd = false; + @Expose @ConfigOption(name = "Clean End", desc = "Hide entities and particles after the boss in Floor 1 - 6 has died.") @ConfigEditorBoolean - public boolean cleanEnd = false; + @ConfigAccordionId(id = 2) + public boolean cleanEndToggle = false; @Expose - @ConfigOption(name = "Ignore Guardians", desc = "Ignore F3 and M3 guardians from the clean end feature when sneaking. Makes it easier to kill them after the boss died already. Thanks hypixel.") + @ConfigOption(name = "Ignore Guardians", desc = "Ignore F3 and M3 guardians from the clean end feature when " + + "sneaking. Makes it easier to kill them after the boss died already. Thanks hypixel.") @ConfigEditorBoolean + @ConfigAccordionId(id = 2) public boolean cleanEndF3IgnoreGuardians = false; }
\ No newline at end of file |
