diff --git a/Client/src/main/java/com/baseband/client/module/combat/AutoTotem.java b/Client/src/main/java/com/baseband/client/module/combat/AutoTotem.java index e852669..bbad997 100644 --- a/Client/src/main/java/com/baseband/client/module/combat/AutoTotem.java +++ b/Client/src/main/java/com/baseband/client/module/combat/AutoTotem.java @@ -54,8 +54,13 @@ public class AutoTotem extends Feature { /// GATES END - @Config("Render totem amount") - public boolean renderTots = true; + @Config("Render totem amount in HUD") + @Description("Renders the Totem Count Above the Offhand.") + public boolean renderTotemCountHud = false; + + @Config("Render totem amount in ModuleList") + @Description("Renders the Totem Count in the HUD as metadata.") + public boolean renderTotemCountModuleList = true; @Config("Mode") @Description("The mode of AutoTotem:\n" + @@ -133,6 +138,14 @@ public class AutoTotem extends Feature { @Override public void onEveryTick() { + + //Hot + if(enabled && renderTotemCountModuleList && !notIngame()) { + text = this + "§7 [" + getTotemCount() + "]"; + } else { + text = toString(); + } + switch (mode) { case Single: isSingle = true; @@ -375,7 +388,7 @@ public class AutoTotem extends Feature { int fullCount = 0; public void renderTotems() { - if(fullCount != 0 && renderTots) { + if(fullCount != 0 && renderTotemCountHud) { ScaledResolution res = new ScaledResolution(mc); int y = res.getScaledHeight() - 16 * 2 - 3 - 8; int x; @@ -407,7 +420,7 @@ public class AutoTotem extends Feature { allowRenderHUD = false; - if(renderTots) + if(renderTotemCountHud) renderTotems(); } diff --git a/Client/src/main/java/com/baseband/client/module/world/AutoEat.java b/Client/src/main/java/com/baseband/client/module/world/AutoEat.java index 85f4c26..1ae6aae 100644 --- a/Client/src/main/java/com/baseband/client/module/world/AutoEat.java +++ b/Client/src/main/java/com/baseband/client/module/world/AutoEat.java @@ -24,6 +24,15 @@ public class AutoEat extends Feature { return "AutoEat"; } + @Override + public void onEveryTick() { + if(enabled) { + text = this + "§7 [" + (eating ? "ACTIVE" : "INACTIVE") + "]"; + } else { + text = toString(); + } + } + @Override public void onTick() { if (eating && !mc.player.isHandActive()) {