summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Minions.java17
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);
}