Port cps
This commit is contained in:
parent
f14f402a26
commit
e08f846d0c
|
@ -3,17 +3,15 @@ package dev.resent.module.impl.hud;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import dev.resent.annotation.RenderMod;
|
||||||
import dev.resent.module.Theme;
|
import dev.resent.module.Theme;
|
||||||
import dev.resent.module.base.Category;
|
import dev.resent.module.base.Category;
|
||||||
import dev.resent.module.base.RenderModule;
|
import dev.resent.module.base.RenderModule;
|
||||||
import dev.resent.util.misc.FuncUtils;
|
import dev.resent.util.misc.FuncUtils;
|
||||||
|
|
||||||
|
@RenderMod(name = "CPS", category = Category.HUD, x = 4, y = 26)
|
||||||
public class CPS extends RenderModule {
|
public class CPS extends RenderModule {
|
||||||
|
|
||||||
public CPS() {
|
|
||||||
super("CPS", Category.HUD, 50, 4, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
private List<Long> clicks = new ArrayList<>();
|
private List<Long> clicks = new ArrayList<>();
|
||||||
private boolean wasPressed;
|
private boolean wasPressed;
|
||||||
private long lastPressed;
|
private long lastPressed;
|
||||||
|
|
|
@ -8,7 +8,7 @@ import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.network.play.server.S19PacketEntityStatus;
|
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 class ComboCounter extends RenderModule {
|
||||||
|
|
||||||
public static boolean attacked = false;
|
public static boolean attacked = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user