mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-18 10:34:22 +01:00
Rendering is super annoying, I agree >.>
This commit is contained in:
parent
ab8ab99bd5
commit
d1724fa307
2 changed files with 13 additions and 10 deletions
|
@ -71,6 +71,9 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
|||
|
||||
@Override
|
||||
public void setRotationAngles(float move, float swing, float age, float headYaw, float headPitch, float scale, Entity entity) {
|
||||
this.boxList.clear();
|
||||
this.init(0, 0);
|
||||
|
||||
super.setRotationAngles(move, swing, age, headYaw, headPitch, scale, entity);
|
||||
|
||||
float headRotateAngleY = isSleeping ? 1.4f : headYaw / 57.29578F;
|
||||
|
@ -490,8 +493,8 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
|||
.tex(36, 16) .addBackPlane(-4, -4, 8, 8, 4, stretch)
|
||||
.addBackPlane(-4, 0, 8, 8, 4, stretch)
|
||||
.addBottomPlane(-4, 4, 4, 8, 4, stretch)
|
||||
.flipZ().tex(24, 0).addWestPlane(-4, -4, -4, 8, 8, stretch)
|
||||
.tex(32, 20).addTopPlane(-4, -4, -4, 8, 12, stretch)
|
||||
.flipZ().tex(32, 20).addTopPlane(-4, -4, -4, 8, 12, stretch)
|
||||
.tex(24, 0).addWestPlane(-4, -4, -4, 8, 8, stretch)
|
||||
.tex(4, 0) .addWestPlane(-4, -4, 4, 8, 4, stretch)
|
||||
// Tail stub
|
||||
.child(0)
|
||||
|
|
|
@ -58,7 +58,7 @@ public class ModelPlane extends Box<PlaneRenderer> {
|
|||
quad = quad(textureX, d, textureY, h, wds, wdn, wun, wus);
|
||||
}
|
||||
if (face == Face.UP) {
|
||||
quad = quad(textureX, w, textureY, h, edn, wdn, wds, eds);
|
||||
quad = quad(textureX, w, textureY, d, edn, wdn, wds, eds);
|
||||
}
|
||||
if (face == Face.DOWN) {
|
||||
quad = quad(textureX, w, textureY, d, eus, wus, wun, eun);
|
||||
|
|
Loading…
Reference in a new issue