diff options
| author | Lorenz <lo.scherf@gmail.com> | 2022-08-23 23:37:38 +0200 |
|---|---|---|
| committer | Lorenz <lo.scherf@gmail.com> | 2022-08-23 23:37:38 +0200 |
| commit | 9411e33dd4ceb2c7a314c389deeb22ff2e1aa51d (patch) | |
| tree | 394fb1120fdf4cf7989eb485813b003e6a770a97 /src/main/java/at/hannibal2/skyhanni/config | |
| parent | e5bba6f31e10b5602f1a1a6b1d368388985755f2 (diff) | |
| download | skyhanni-9411e33dd4ceb2c7a314c389deeb22ff2e1aa51d.tar.gz skyhanni-9411e33dd4ceb2c7a314c389deeb22ff2e1aa51d.tar.bz2 skyhanni-9411e33dd4ceb2c7a314c389deeb22ff2e1aa51d.zip | |
added minion hopper coins per day display
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 5 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Minions.java | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index 916cb896b..75674ca78 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -66,6 +66,11 @@ public class Features { editOverlay(activeConfigCategory, 200, 16, misc.realTimePos); return; } + + if (runnableId.equals("hopperProfitDisplay")) { + editOverlay(activeConfigCategory, 200, 16, minions.hopperProfitPos); + return; + } } @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java index 016d5f6d2..318b16555 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.config.features; +import at.hannibal2.skyhanni.config.gui.core.config.Position; import at.hannibal2.skyhanni.config.gui.core.config.annotations.*; import com.google.gson.annotations.Expose; @@ -64,4 +65,20 @@ public class Minions { @ConfigOption(name = "Hide Mob Nametag", desc = "Hiding the nametag of mobs close to minions") @ConfigEditorBoolean public boolean hideMobsNametagNearby = false; + + @ConfigOption(name = "Hopper Profit", desc = "") + @ConfigEditorAccordion(id = 2) + public boolean hopperProfit = false; + + @Expose + @ConfigOption(name = "Hopper Profit Display", desc = "Using the held coins and the last empty time to calculate the coins a hopper collects in a day") + @ConfigEditorBoolean + @ConfigAccordionId(id = 2) + public boolean hopperProfitDisplay = false; + + @Expose + @ConfigOption(name = "Best Sell Method Position", desc = "") + @ConfigEditorButton(runnableId = "hopperProfitDisplay", buttonText = "Edit") + @ConfigAccordionId(id = 2) + public Position hopperProfitPos = new Position(10, 10, false, true); } |
