Port pothud

This commit is contained in:
ThisIsALegitUsername 2023-02-02 16:27:22 +00:00
parent 51186277b7
commit da2f4759ba

View File

@ -2,6 +2,7 @@ package dev.resent.module.impl.hud;
import java.util.Collection; import java.util.Collection;
import dev.resent.annotation.RenderModule;
import dev.resent.module.base.Category; import dev.resent.module.base.Category;
import dev.resent.module.base.RenderMod; import dev.resent.module.base.RenderMod;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager; import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
@ -16,14 +17,11 @@ import net.minecraft.potion.PotionEffect;
import net.minecraft.util.ResourceLocation; import net.minecraft.util.ResourceLocation;
@SuppressWarnings("all") @SuppressWarnings("all")
@RenderModule(name = "PotionHUD", category = Category.HUD, x = 4, y = 74)
public class PotionHUD extends RenderMod { public class PotionHUD extends RenderMod {
int i2 = 16; int i2 = 16;
public PotionHUD() {
super("PotionHUD", Category.HUD, 4, 350);
}
public int getWidth() { public int getWidth() {
return 100; return 100;
} }