mirror of
https://github.com/nimsolated/Nims-Random-BS.git
synced 2026-04-02 10:20:42 -07:00
update: 1.4.0
This commit is contained in:
@@ -74,11 +74,5 @@ public class Modelpeguin<T extends Entity> extends EntityModel<T> {
|
||||
|
||||
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw,
|
||||
float headPitch) {
|
||||
this.LeftLeg.xRot = Mth.cos(limbSwing * 1.0F) * -1.0F * limbSwingAmount;
|
||||
this.RightArm.xRot = Mth.cos(limbSwing * 0.6662F + (float) Math.PI) * limbSwingAmount;
|
||||
this.Head.yRot = netHeadYaw / (180F / (float) Math.PI);
|
||||
this.Head.xRot = headPitch / (180F / (float) Math.PI);
|
||||
this.RightLeg.xRot = Mth.cos(limbSwing * 1.0F) * 1.0F * limbSwingAmount;
|
||||
this.LeftArm.xRot = Mth.cos(limbSwing * 0.6662F) * limbSwingAmount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user