mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Removed changes to texture of left wing
After discussion with Killjoy, understood it would break existing skins for little to no gain. Kept changes to wing position.
This commit is contained in:
parent
2082b45d06
commit
cc6fdf7dcf
2 changed files with 6 additions and 11 deletions
|
@ -12,22 +12,18 @@ public class PonySkinModifier implements ISkinModifier {
|
||||||
public void convertSkin(BufferedImage skin, Graphics dest) {
|
public void convertSkin(BufferedImage skin, Graphics dest) {
|
||||||
int scale = skin.getWidth() / 64;
|
int scale = skin.getWidth() / 64;
|
||||||
|
|
||||||
//drawImage(dest, skin, scale, 64, 32, 56, 48, 56, 16, 64, 32); //old code from 2015, let's try it :D
|
|
||||||
//That didn't work right, needs un-mirrored horizontally
|
|
||||||
drawImage(dest, skin, scale, 64, 32, 56, 48, 64, 16, 56, 32); // same code as above but not horizontally flipping the wing texture it copies
|
|
||||||
//removed all below code because it doesn't seem to be necessary if you just mirror the model
|
|
||||||
//top, mirror
|
//top, mirror
|
||||||
//drawImage(dest, skin, scale, 60, 32, 58, 34, 58, 16, 60, 18);
|
drawImage(dest, skin, scale, 60, 32, 58, 34, 58, 16, 60, 18);
|
||||||
//bottom, mirror
|
//bottom, mirror
|
||||||
//drawImage(dest, skin, scale, 62, 32, 60, 34, 60, 16, 62, 18);
|
drawImage(dest, skin, scale, 62, 32, 60, 34, 60, 16, 62, 18);
|
||||||
//inside
|
//inside
|
||||||
//drawImage(dest, skin, scale, 58, 34, 56, 48, 60, 18, 62, 32);
|
drawImage(dest, skin, scale, 58, 34, 56, 48, 60, 18, 62, 32);
|
||||||
//back
|
//back
|
||||||
//drawImage(dest, skin, scale, 60, 34, 58, 48, 58, 18, 60, 32);
|
drawImage(dest, skin, scale, 60, 34, 58, 48, 58, 18, 60, 32);
|
||||||
//outside
|
//outside
|
||||||
//drawImage(dest, skin, scale, 62, 34, 60, 48, 56, 18, 58, 32);
|
drawImage(dest, skin, scale, 62, 34, 60, 48, 56, 18, 58, 32);
|
||||||
//back
|
//back
|
||||||
//drawImage(dest, skin, scale, 64, 34, 62, 48, 62, 18, 64, 32);
|
drawImage(dest, skin, scale, 64, 34, 62, 48, 62, 18, 64, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void drawImage(Graphics graphics, Image image, int scale, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2) {
|
private void drawImage(Graphics graphics, Image image, int scale, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2) {
|
||||||
|
|
|
@ -26,7 +26,6 @@ public class PegasusWings extends ModelBase implements PonyModelConstants {
|
||||||
|
|
||||||
for (int i = 0; i < leftWing.length; i++) {
|
for (int i = 0; i < leftWing.length; i++) {
|
||||||
this.leftWing[i] = new ModelRenderer(pony, 56, 32);
|
this.leftWing[i] = new ModelRenderer(pony, 56, 32);
|
||||||
this.leftWing[i].mirror = true;
|
|
||||||
this.pony.boxList.remove(this.leftWing[i]);
|
this.pony.boxList.remove(this.leftWing[i]);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < rightWing.length; i++) {
|
for (int i = 0; i < rightWing.length; i++) {
|
||||||
|
|
Loading…
Reference in a new issue