Apparantly google hates concise readable code. So there, can't complain about static members if they're not static. :P

I may just revert this later...
This commit is contained in:
Sollace 2018-04-26 22:31:26 +02:00
parent 16eed1e568
commit 441fc61508

View file

@ -112,7 +112,7 @@ public abstract class AbstractPonyModel extends ModelPlayer {
/**
* Adjusts the rotation center of the given renderer by the given amounts in each direction.
*/
public static void shiftRotationPoint(ModelRenderer renderer, float x, float y, float z) {
public void shiftRotationPoint(ModelRenderer renderer, float x, float y, float z) {
renderer.rotationPointX += x;
renderer.rotationPointY += y;
renderer.rotationPointZ += z;
@ -126,7 +126,7 @@ public abstract class AbstractPonyModel extends ModelPlayer {
* @param swingProgress How far we are through the current swing
* @param tick Render partial ticks
*/
protected static void rotateArmHolding(ModelRenderer arm, float direction, float swingProgress, float tick) {
protected void rotateArmHolding(ModelRenderer arm, float direction, float swingProgress, float tick) {
float swing = MathHelper.sin(swingProgress * (float)Math.PI);
float roll = MathHelper.sin((1 - (1 - swingProgress) * (1 - swingProgress)) * (float)Math.PI);