From da2f4759ba34bb39c4847b602f154fe00b6b7194 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 2 Feb 2023 16:27:22 +0000 Subject: [PATCH] Port pothud --- src/main/java/dev/resent/module/impl/hud/PotionHUD.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/dev/resent/module/impl/hud/PotionHUD.java b/src/main/java/dev/resent/module/impl/hud/PotionHUD.java index 87215376..056ade35 100644 --- a/src/main/java/dev/resent/module/impl/hud/PotionHUD.java +++ b/src/main/java/dev/resent/module/impl/hud/PotionHUD.java @@ -2,6 +2,7 @@ package dev.resent.module.impl.hud; import java.util.Collection; +import dev.resent.annotation.RenderModule; import dev.resent.module.base.Category; import dev.resent.module.base.RenderMod; import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager; @@ -16,14 +17,11 @@ import net.minecraft.potion.PotionEffect; import net.minecraft.util.ResourceLocation; @SuppressWarnings("all") +@RenderModule(name = "PotionHUD", category = Category.HUD, x = 4, y = 74) public class PotionHUD extends RenderMod { int i2 = 16; - public PotionHUD() { - super("PotionHUD", Category.HUD, 4, 350); - } - public int getWidth() { return 100; }