Skip to content

Commit

Permalink
v3.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureZhen committed Aug 24, 2022
1 parent 76032dc commit 564121c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
v3.0.22
v3.0.23

- Fixed NameTag rendering with HUD off. - legenden#7526
- Fixed Extended Entity Render of armor - DerToaster
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ qsl_version=1.1.0-beta.26+1.18.2
quilted_fapi_version=1.0.0-beta.24+0.58.0

# Mod Properties
mod_version=3.0.22
mod_version=3.0.23
maven_group=software.bernie.geckolib
archives_base_name=geckolib-quilt-1.18
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,15 @@ protected void prepareArmorPositionAndScale(GeoBone bone, List<Cuboid> cubeList,
sourceLimb.yaw = -bone.getRotationY();
sourceLimb.roll = bone.getRotationZ();
} else {
// All those *= 2 calls ARE necessary, otherwise the geo armor will apply
// rotations twice, so to have it only applied one time in the correct direction
// we add 2x the negative rotation to it
float xRot = -bone.getRotationX();
xRot *= 2;
float yRot = -bone.getRotationY();
yRot *= 2;
float zRot = bone.getRotationZ();
zRot *= 2;
GeoBone tmpBone = bone.parent;
while (tmpBone != null) {
xRot -= tmpBone.getRotationX();
Expand Down

0 comments on commit 564121c

Please sign in to comment.