Disable shadow position changing

# Conflicts:
#	src/main/java/com/minelittlepony/client/render/entity/PlayerPonyRenderer.java
This commit is contained in:
Sollace 2023-10-06 00:38:52 +01:00
parent a69140b761
commit 9334836aa7
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -24,7 +24,6 @@ import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.text.Text;
import net.minecraft.util.Arm;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.*;
public class PlayerPonyRenderer extends PlayerEntityRenderer implements IPonyRenderContext<AbstractClientPlayerEntity, ClientPonyModel<AbstractClientPlayerEntity>> {
@ -82,6 +81,7 @@ public class PlayerPonyRenderer extends PlayerEntityRenderer implements IPonyRen
// Translate the shadow position after everything is done
// (shadows are drawn after us)
/*
if (!entity.hasVehicle() && !entity.isSleeping()) {
float yaw = MathHelper.lerpAngleDegrees(tickDelta, entity.prevBodyYaw, entity.bodyYaw);
float l = entity.getWidth() / 2 * manager.getPony(entity).metadata().getSize().getScaleFactor();
@ -90,6 +90,8 @@ public class PlayerPonyRenderer extends PlayerEntityRenderer implements IPonyRen
stack.translate(0, 0, -l);
stack.multiply(RotationAxis.POSITIVE_Y.rotationDegrees(yaw));
}
*/
}
@Override