From 2bae60e9ada2e9385a89372b73b8a04372262163 Mon Sep 17 00:00:00 2001 From: Latokike <81393451+latokike@users.noreply.github.com> Date: Sun, 18 Dec 2022 19:01:43 -0800 Subject: [PATCH] fix SnakeFeatureRenderer.java --- .../common/entity/renderer/SnakeFeatureRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/latokike/mythorigins/common/entity/renderer/SnakeFeatureRenderer.java b/src/main/java/latokike/mythorigins/common/entity/renderer/SnakeFeatureRenderer.java index 5ea5d67..bc33d66 100644 --- a/src/main/java/latokike/mythorigins/common/entity/renderer/SnakeFeatureRenderer.java +++ b/src/main/java/latokike/mythorigins/common/entity/renderer/SnakeFeatureRenderer.java @@ -53,7 +53,7 @@ public void renderHead(MatrixStack matrixStack, VertexConsumerProvider vertexCon matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180.0F)); matrixStack.scale(0.255F, -0.2F, -0.255F); - //MinecraftClient.getInstance().getHeldItemRenderer().renderItem(livingEntity, itemStack, ModelTransformation.Mode.HEAD, false, matrixStack, vertexConsumerProvider, i); + this.heldItemRenderer.renderItem(livingEntity, itemStack, ModelTransformation.Mode.HEAD, false, matrixStack, vertexConsumerProvider, i); matrixStack.pop(); } @@ -121,4 +121,4 @@ public void renderHead(MatrixStack matrixStack, VertexConsumerProvider vertexCon matrixStack.pop(); } } -} \ No newline at end of file +}