From 7c0a509c884caaf4355ed34ed65b182a067f6bbe Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Fri, 16 Aug 2024 22:35:33 +0200 Subject: [PATCH] Update HealthBarRenderer.java --- Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java b/Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java index f98d6ac..c4cea95 100644 --- a/Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java +++ b/Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java @@ -7,7 +7,6 @@ import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Font; import net.minecraft.client.renderer.MultiBufferSource; -import net.minecraft.client.renderer.RenderType; import net.minecraft.client.renderer.texture.OverlayTexture; import net.minecraft.core.registries.BuiltInRegistries; import net.minecraft.core.registries.Registries; @@ -228,7 +227,6 @@ public static void hookRender(Entity entity, PoseStack poseStack, MultiBufferSou float padding = NeatConfig.instance.backgroundPadding(); int bgHeight = NeatConfig.instance.backgroundHeight(); - builder.addVertex(poseStack.last().pose(), -halfSize - padding, -bgHeight, 0.01F).setColor(0, 0, 0, 60).setUv(0.0F, 0.0F).setLight(light); builder.addVertex(poseStack.last().pose(), -halfSize - padding, barHeight + padding, 0.01F).setColor(0, 0, 0, 60).setUv(0.0F, 0.5F).setLight(light); builder.addVertex(poseStack.last().pose(), halfSize + padding, barHeight + padding, 0.01F).setColor(0, 0, 0, 60).setUv(1.0F, 0.5F).setLight(light);