From e08f846d0c13b0fbc0635b4c3ddd04b7f1bf58b3 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 2 Feb 2023 16:11:29 +0000 Subject: [PATCH] Port cps --- src/main/java/dev/resent/module/impl/hud/CPS.java | 6 ++---- src/main/java/dev/resent/module/impl/hud/ComboCounter.java | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/dev/resent/module/impl/hud/CPS.java b/src/main/java/dev/resent/module/impl/hud/CPS.java index 481ee717..5eea8bcf 100644 --- a/src/main/java/dev/resent/module/impl/hud/CPS.java +++ b/src/main/java/dev/resent/module/impl/hud/CPS.java @@ -3,17 +3,15 @@ package dev.resent.module.impl.hud; import java.util.ArrayList; import java.util.List; +import dev.resent.annotation.RenderMod; import dev.resent.module.Theme; import dev.resent.module.base.Category; import dev.resent.module.base.RenderModule; import dev.resent.util.misc.FuncUtils; +@RenderMod(name = "CPS", category = Category.HUD, x = 4, y = 26) public class CPS extends RenderModule { - public CPS() { - super("CPS", Category.HUD, 50, 4, true); - } - private List clicks = new ArrayList<>(); private boolean wasPressed; private long lastPressed; 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 81a9c87e..d34b0df0 100644 --- a/src/main/java/dev/resent/module/impl/hud/ComboCounter.java +++ b/src/main/java/dev/resent/module/impl/hud/ComboCounter.java @@ -8,7 +8,7 @@ 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) +@RenderMod(name = "ComboCounter", category = Category.HUD, x = 4, y = 14) public class ComboCounter extends RenderModule { public static boolean attacked = false;