Skip to content

Commit

Permalink
Update HealthBarRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Aug 16, 2024
1 parent 6201aa7 commit 7c0a509
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 7c0a509

Please sign in to comment.