Skip to content

Commit

Permalink
Update DisplayLanternBlockEntityRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Nov 16, 2023
1 parent 38750b2 commit bc95174
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void render(@NotNull T lantern, float partialTick, @NotNull PoseStack pos
poseStack.translate(0.5F, lantern.clientHanging ? 0.25F : 0.125F, 0.5F);
poseStack.scale(0.7F, 0.7F, 0.7F);
poseStack.mulPose(Axis.YP.rotation((lantern.age + partialTick) / 20F));
this.itemRenderer.renderStatic(stack.get(), ItemDisplayContext.FIXED, light, OverlayTexture.NO_OVERLAY, poseStack, buffer, lantern.getLevel(), 1);
this.itemRenderer.renderStatic(stack.get(), ItemDisplayContext.GROUND, light, OverlayTexture.NO_OVERLAY, poseStack, buffer, lantern.getLevel(), 1);
poseStack.popPose();
} else {
for (DisplayLanternBlockEntity.FireflyInLantern entity : lantern.getFireflies()) {
Expand Down

0 comments on commit bc95174

Please sign in to comment.