Disable unfinished code

Fixes #1
This commit is contained in:
Motschen
2021-07-07 17:03:51 +02:00
parent 7a33ed2d6e
commit 46696cd130

View File

@@ -37,7 +37,7 @@ public class SubmarineRenderer extends EntityRenderer<SubmarineEntity> implement
matrixStack.push();
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F - yaw));
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F));
matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8));
//matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8));
entity.prevRoll = yaw;
matrixStack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(180.0F + pitch));
matrixStack.translate(0.0D , -1.75D, -0.5D + (90 + entity.getPitch()) * 0.01f);