Fixed legacy skin conversion (again)

This commit is contained in:
Sollace 2019-07-02 11:42:52 +02:00
parent 88b2228314
commit e3fac2476c

View file

@ -13,12 +13,12 @@ public class LegacySkinConverter implements TextureConverter {
@Override
public void convertTexture(Drawer drawer) {
// ( from ) ( to ) (size) flipX flipY
drawer.copy(58, 16, 58, 32, 2, 2, true, false); // top
drawer.copy(60, 16, 60, 32, 2, 2, true, false); // bottom
drawer.copy(60, 18, 56, 34, 2, 14, true, false); // inside
drawer.copy(58, 18, 58, 34, 2, 14, true, false); // back
drawer.copy(56, 18, 60, 34, 2, 14, true, false); // outside
drawer.copy(62, 18, 62, 34, 2, 14, true, false); // front
// ( from ) ( offset ) (size) flipX flipY
drawer.copy(58, 16, 0, 16, 2, 2, true, false); // top
drawer.copy(60, 16, 0, 16, 2, 2, true, false); // bottom
drawer.copy(60, 18, -4, 16, 2, 14, true, false); // inside
drawer.copy(58, 18, 0, 16, 2, 14, true, false); // back
drawer.copy(56, 18, 4, 16, 2, 14, true, false); // outside
drawer.copy(62, 18, 0, 16, 2, 14, true, false); // front
}
}