From 3ac5eccd64bd8bf4e5fb7f9baff584cb20a89ddf Mon Sep 17 00:00:00 2001 From: Ethryan <3237986+Ethryan@users.noreply.github.com> Date: Sat, 14 Jun 2025 11:16:16 +0200 Subject: [PATCH] Move config options to new category. --- src/main/java/baubles/common/BaublesConfig.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/baubles/common/BaublesConfig.java b/src/main/java/baubles/common/BaublesConfig.java index e3fbe5d..491597a 100644 --- a/src/main/java/baubles/common/BaublesConfig.java +++ b/src/main/java/baubles/common/BaublesConfig.java @@ -26,6 +26,7 @@ public class BaublesConfig { static final String categoryDebug = "debug"; static final String categoryGeneral = "general"; static final String categoryMenu = "menu"; + static final String categoryClient = "client"; static final String categoryOverride = "override"; public static void loadConfig(Configuration config) { @@ -41,9 +42,12 @@ public class BaublesConfig { "IDs of enchantments that should be treated as soul bound when on items in a bauble slot." ).getIntList(); + //categoryClient + useOldGuiButton = config.getBoolean("useOldGuiButton", categoryClient, useOldGuiButton, "Use the old Baubles Button texture and location instead.\n"); + useOldGuiRendering = config.getBoolean("useOldRendering", categoryClient, useOldGuiRendering, "Display the old Bauble GUI instead of the new sidebar.\n"); + + //categoryMenu - useOldGuiButton = config.getBoolean("useOldGuiButton", categoryMenu, useOldGuiButton, "Use the old Baubles Button texture and location instead.\n"); - useOldGuiRendering = config.getBoolean("useOldRendering", categoryMenu, useOldGuiRendering, "Display the old Bauble GUI instead of the new sidebar.\n"); showUnusedSlots = config.getBoolean("showUnusedSlots", categoryMenu, showUnusedSlots, "Display unused Bauble slots.\n"); manualSlotSelection = config.getBoolean("manualSlotSelection", categoryMenu, manualSlotSelection, "Manually override slot assignments.\n!Bauble slot types must be configured manually with this option enabled!\n"