From 3667f62465316ecca134de519700045834d4676f Mon Sep 17 00:00:00 2001 From: Lorenz Date: Fri, 15 Jul 2022 00:58:03 +0200 Subject: add trophy fishing feature --- .../at/hannibal2/skyhanni/config/Features.java | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/Features.java') 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) { @@ -66,6 +68,10 @@ public class Features { @Category(name = "Bazaar", desc = "Bazaar settings.") 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 -- cgit