Skip to content

Commit

Permalink
Update ExtendedGeoEntityRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureZhen committed Jun 6, 2022
1 parent 35c139c commit 77b0607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public void renderLate(T animatable, PoseStack stackIn, float ticks, MultiBuffer

protected void moveAndRotateMatrixToMatchBone(PoseStack stack, AnimatingBone bone) {
// First, let's move our render position to the pivot point...
stack.translate(bone.getPivotX() / 16, bone.getPivotY() / 16, bone.getPositionZ() / 16);
stack.translate(bone.getPivotX() / 16, bone.getPivotY() / 16, bone.getPivotZ() / 16);

stack.mulPose(Vector3f.XP.rotationDegrees(bone.getRotationX()));
stack.mulPose(Vector3f.YP.rotationDegrees(bone.getRotationY()));
Expand Down

0 comments on commit 77b0607

Please sign in to comment.