aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/Features.java
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-15 00:58:03 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-15 00:58:03 +0200
commit3667f62465316ecca134de519700045834d4676f (patch)
treea2885fe7b3ecc20a0983fea4df2ca82658159db5 /src/main/java/at/hannibal2/skyhanni/config/Features.java
parent6a05417e4c0cea8c8bcb9a64d41635c961227e0e (diff)
downloadskyhanni-3667f62465316ecca134de519700045834d4676f.tar.gz
skyhanni-3667f62465316ecca134de519700045834d4676f.tar.bz2
skyhanni-3667f62465316ecca134de519700045834d4676f.zip
add trophy fishing feature
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/Features.java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index 46bbe3482..8c40004fd 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -13,7 +13,9 @@ import net.minecraft.client.Minecraft;
public class Features {
private void editOverlay(String activeConfig, int width, int height, Position position) {
- Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {}, () -> {}, () -> SkyHanniMod.screenToOpen = new GuiScreenElementWrapper(new ConfigEditor(SkyHanniMod.feature, activeConfig))));
+ Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {
+ }, () -> {
+ }, () -> SkyHanniMod.screenToOpen = new GuiScreenElementWrapper(new ConfigEditor(SkyHanniMod.feature, activeConfig))));
}
public void executeRunnable(String runnableId) {
@@ -67,6 +69,10 @@ public class Features {
public Bazaar bazaar = new Bazaar();
@Expose
+ @Category(name = "Fishing", desc = "Fishing stuff.")
+ public Fishing fishing = new Fishing();
+
+ @Expose
@Category(name = "Misc", desc = "Settings without a category.")
public Misc misc = new Misc();
@@ -239,6 +245,20 @@ public class Features {
public boolean orderHelper = false;
}
+ public static class Fishing {
+
+ @Expose
+ @ConfigOption(name = "Trophy Counter", desc = "Counts every single Trohy message from chat and tells you how many you got already.")
+ @ConfigEditorBoolean
+ public boolean trophyCounter = false;
+
+ @Expose
+ @ConfigOption(name = "Hide Bronze Duplicates", desc = "Hide duplicate messages for bronze trophy fishes from chat.")
+ @ConfigEditorBoolean
+ public boolean trophyFishBronzeHider = false;
+
+ }
+
public static class Misc {
@Expose