From 9abb6a053a59ecb6e1304b97852eac9c67c8d182 Mon Sep 17 00:00:00 2001 From: Ibrahim Ansari Date: Thu, 5 Dec 2024 15:28:37 +0530 Subject: [PATCH] Fix damage particle colours, bump version --- gradle.properties | 2 +- .../java/net/torocraft/torohealth/bars/HealthBarRenderer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 449ed75..2da88e4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,6 +16,6 @@ loader_version=0.14.21 fabric_version=0.84.0+1.20.1 # Mod Properties -mod_version = 1.20.1-fabric-1 +mod_version = 1.20.1-fabric-2 maven_group = net.torocraft archives_base_name = torohealth diff --git a/src/main/java/net/torocraft/torohealth/bars/HealthBarRenderer.java b/src/main/java/net/torocraft/torohealth/bars/HealthBarRenderer.java index f33a8c2..bc9ae68 100644 --- a/src/main/java/net/torocraft/torohealth/bars/HealthBarRenderer.java +++ b/src/main/java/net/torocraft/torohealth/bars/HealthBarRenderer.java @@ -173,7 +173,7 @@ public static void drawDamageNumber(MatrixStack matrix, minecraft.textRenderer.draw( s, (float) (x + (width / 2) - sw), (float) y + 5, color, false, matrix.peek().getPositionMatrix(), vertexConsumerProvider, - TextRenderer.TextLayerType.NORMAL, 0, 0); + TextRenderer.TextLayerType.NORMAL, 0, 15728880); } private static void drawBar(Matrix4f matrix4f, double x, double y, float width, float percent,