From f14f402a2620fe1950ec517fd5a50a1d8dd08132 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 2 Feb 2023 16:09:33 +0000 Subject: [PATCH] Combocounter annotation --- src/main/java/dev/resent/module/impl/hud/ArmorHud.java | 1 - src/main/java/dev/resent/module/impl/hud/ComboCounter.java | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/dev/resent/module/impl/hud/ArmorHud.java b/src/main/java/dev/resent/module/impl/hud/ArmorHud.java index 25d40a7e..009bb3ab 100644 --- a/src/main/java/dev/resent/module/impl/hud/ArmorHud.java +++ b/src/main/java/dev/resent/module/impl/hud/ArmorHud.java @@ -13,7 +13,6 @@ import net.minecraft.item.ItemStack; public class ArmorHud extends RenderModule { public ScaledResolution sr; - public ArmorHud() { addSetting(helm, chestp, leg, boot, item); } public static BooleanSetting helm = new BooleanSetting("Helmet", "", true); diff --git a/src/main/java/dev/resent/module/impl/hud/ComboCounter.java b/src/main/java/dev/resent/module/impl/hud/ComboCounter.java index c8f4adf4..81a9c87e 100644 --- a/src/main/java/dev/resent/module/impl/hud/ComboCounter.java +++ b/src/main/java/dev/resent/module/impl/hud/ComboCounter.java @@ -1,5 +1,6 @@ package dev.resent.module.impl.hud; +import dev.resent.annotation.RenderMod; import dev.resent.module.Theme; import dev.resent.module.base.Category; import dev.resent.module.base.RenderModule; @@ -7,12 +8,9 @@ import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.network.play.server.S19PacketEntityStatus; +@RenderMod(name = "ComboCounter", category = Category.HUD, x = 4, y = 24) public class ComboCounter extends RenderModule { - public ComboCounter() { - super("ComboCounter", Category.HUD, 4, 24, true); - } - public static boolean attacked = false; public static int combo = 0;