diff --git a/src/main/java/com/minelittlepony/unicopia/client/render/BraceletFeatureRenderer.java b/src/main/java/com/minelittlepony/unicopia/client/render/BraceletFeatureRenderer.java index c3a9d3b9..cd426713 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/render/BraceletFeatureRenderer.java +++ b/src/main/java/com/minelittlepony/unicopia/client/render/BraceletFeatureRenderer.java @@ -59,11 +59,15 @@ public class BraceletFeatureRenderer implements Accessor BraceletModel model = alex ? alexModel : steveModel; + boolean isLeft = entity.getMainArm() == Arm.LEFT; + int sigma = isLeft ? 1 : -1; + if (entity instanceof ArmorStandEntity) { - ModelPart arm = entity.getMainArm() == Arm.LEFT ? context.getModel().leftArm : context.getModel().rightArm; + ModelPart arm = isLeft ? context.getModel().leftArm : context.getModel().rightArm; arm.visible = true; VertexConsumer consumer = renderContext.getBuffer(context.getModel().getLayer(context.getTexture(entity))); arm.render(stack, consumer, lightUv, OverlayTexture.DEFAULT_UV, 1, 1, 1, 1); + arm.pivotX += sigma; } boolean glowing = ((GlowableItem)item.getItem()).isGlowing(item); @@ -73,6 +77,11 @@ public class BraceletFeatureRenderer implements Accessor model.setAngles(context.getModel()); model.setVisible(entity.getMainArm()); model.render(stack, consumer, glowing ? 0x0F00F0 : lightUv, OverlayTexture.DEFAULT_UV, Color.r(j), Color.g(j), Color.b(j), 1); + + if (entity instanceof ArmorStandEntity) { + ModelPart arm = isLeft ? context.getModel().leftArm : context.getModel().rightArm; + arm.pivotX -= sigma; + } } }