From 40ed94f9e3b13fade944bcf74574c89c6c94ba97 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Wed, 4 Dec 2024 03:55:14 +0100 Subject: [PATCH] 1.21.4 --- .../main/java/vazkii/neat/mixin/EntityRendererMixin.java | 2 +- gradle.properties | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Xplat/src/main/java/vazkii/neat/mixin/EntityRendererMixin.java b/Xplat/src/main/java/vazkii/neat/mixin/EntityRendererMixin.java index b4813f3..6468356 100644 --- a/Xplat/src/main/java/vazkii/neat/mixin/EntityRendererMixin.java +++ b/Xplat/src/main/java/vazkii/neat/mixin/EntityRendererMixin.java @@ -29,7 +29,7 @@ public class EntityRendererMixin { @Inject(method = "render(Lnet/minecraft/client/renderer/entity/state/EntityRenderState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/entity/EntityRenderer;renderNameTag(Lnet/minecraft/client/renderer/entity/state/EntityRenderState;Lnet/minecraft/network/chat/Component;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V"), cancellable = true) private void neat_disableNameTag(EntityRenderState renderState, PoseStack $$1, MultiBufferSource $$2, int $$3, CallbackInfo ci) { - if (NeatConfig.instance.disableNameTag() /*&& (!NeatConfig.instance.disableNameTagIfHealthbar() TODO || neat$allowNameTagDisable(renderState)))*/) { + if (NeatConfig.instance.disableNameTag() /*&& (!NeatConfig.instance.disableNameTagIfHealthbar() TODO || neat$allowNameTagDisable(renderState)))*/ ) { ci.cancel(); } } diff --git a/gradle.properties b/gradle.properties index b40c676..6086e91 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,10 +8,10 @@ org.gradle.jvmargs=-Xmx2G \ --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED group=vazkii.neat -neoforge_version=21.3.0-beta -fabric_loader_version=0.16.7 -fabric_api_version=0.106.1+1.21.3 +neoforge_version=21.4.2-beta +fabric_loader_version=0.16.9 +fabric_api_version=0.110.5+1.21.4 mod_id=neat build_number=42 mod_name=Neat -mc_version=1.21.3 +mc_version=1.21.4