From ffb39c22692c88c108cf2da54354b631ec25b6a2 Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Wed, 13 Jul 2016 22:57:11 -0400 Subject: [PATCH] Add stray overlay texture and fix a small bug with planerenderer --- .../minelittlepony/renderer/PlaneRenderer.java | 6 +++--- .../entity/skeleton/stray_pony_overlay.png | Bin 1017 -> 947 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/brohoof/minelittlepony/renderer/PlaneRenderer.java b/src/main/java/com/brohoof/minelittlepony/renderer/PlaneRenderer.java index e0405680..91810573 100644 --- a/src/main/java/com/brohoof/minelittlepony/renderer/PlaneRenderer.java +++ b/src/main/java/com/brohoof/minelittlepony/renderer/PlaneRenderer.java @@ -115,9 +115,9 @@ public class PlaneRenderer extends ModelRenderer { f -= f3; f1 -= f3; f2 -= f3; - f4 += f3; - f5 += f3; - f6 += f3; + f4 += f < 0 ? -f3 : f3; + f5 += f1 < 0 ? -f3 : f3; + f6 += f2 < 0 ? -f3 : f3; if (this.mirror) { float positiontexturevertex = f4; f4 = f; diff --git a/src/main/resources/assets/minelittlepony/textures/entity/skeleton/stray_pony_overlay.png b/src/main/resources/assets/minelittlepony/textures/entity/skeleton/stray_pony_overlay.png index a9f29b5bf47cb5aa9773da628ffc7af9a84292d1..6a4d1ff223243d3484118371bed1dcfa65f309b9 100644 GIT binary patch delta 919 zcmV;I18DsD2eSu|Dt|lxQUFr`$P{P*000SaNLh0L01m?d01m?e$8V@)00007bV*G` z2jB+|0xu&wkcV&p00TftL_t(|+U;7+t=ljRri>iAKrhZ9y}T^(9H7RVq0R<{;T4i4 za{CMTsSSpGb-nB@hvGrGIV?+CQ96M-lV=*rk9M zFJ1&(rU^p4=iARy2%wW4hhDf$J_VqQ2^fd|Mpw6G={(rBEWgOOOw(PT|E&#>z$NHZ zz&jDJtMQcL72`1Y{3&ycs?CP*LB#otpEU!_3PQdjln#hj(@J>VMsrsh^6Cg+p={DJ{2D# zS}@dg9b2b_rJx3j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