From bc148fc8330201938d4facb247f00ed210389808 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 8 Feb 2020 11:14:59 +0200 Subject: [PATCH] Fixed the vest layer Fixes #144 --- .../minelittlepony/models/steve_pony.json | 132 ++++++------------ 1 file changed, 43 insertions(+), 89 deletions(-) diff --git a/src/main/resources/assets/minelittlepony/models/steve_pony.json b/src/main/resources/assets/minelittlepony/models/steve_pony.json index 1f858348..7a748e8b 100644 --- a/src/main/resources/assets/minelittlepony/models/steve_pony.json +++ b/src/main/resources/assets/minelittlepony/models/steve_pony.json @@ -141,101 +141,55 @@ "west": [-2, 1.199998, -2.8, 4, 4] }, "jacket": { - "texture": { "u": 16, "v": 32 }, "cubes": [ - { "from": [-4, 0, -2], "size": [ 8, 12, 4], "stretch": 0.25 }, - { "from": [-4, 4, -2], "size": [ 8, 8, 4 ], "stretch": 0.25 } + { "from": [-4, 4, -2], "size": [ 8, 8, 4 ], "texture": { "u": 16, "v": 32 }, "stretch": 0.25 } ] }, "saddle": { "texture": { "u": 24, "v": 0 }, - "cubes": [ + "children": [ { - "type": "mson:plane", "__comment": "body sides a", - "texture": { "u": 12, "v": 32 }, - "face": "east", - "position": [ 4, 4, 2 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "body sides a", - "texture": { "u": 12, "v": 32 }, - "mirror": [ false, false, true ], - "face": "west", - "position": [ -4, 4, 2 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "body sides b", - "texture": { "u": 12, "v": 48 }, - "face": "east", - "position": [ 4, 8, 2 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "body sides b", - "mirror": [ false, false, true ], - "texture": { "u": 12, "v": 48 }, - "face": "west", - "position": [ -4, 8, 2 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "qt mark a", - "texture": { "u": 0, "v": 32 }, - "face": "east", - "position": [ 4, 4, 10 ], "size": [ 4, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "qt mark a", - "mirror": [ false, false, true ], - "texture": { "u": 0, "v": 32 }, - "face": "west", - "position": [ -4, 4, 10 ], "size": [ 4, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "qt mark b", - "texture": { "u": 0, "v": 48 }, - "face": "east", - "position": [ 4, 8, 10 ], "size": [ 4, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "qt mark b", - "texture": { "u": 0, "v": 48 }, - "face": "west", - "position": [ -4, 8, 10 ], "size": [ 4, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "stomach a", - "texture": { "u": 28, "v": 48 }, - "face": "down", - "position": [ -4, 12, 2 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "stomach b", - "texture": { "u": 44, "v": 48 }, - "face": "down", - "position": [ -4, 12, 6 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "stomach c", - "texture": { "u": 36, "v": 32 }, - "face": "down", - "position": [ -4, 12, 10 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "butt", - "texture": { "u": 36, "v": 32 }, - "face": "south", - "position": [ -4, 4, 14 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "butt", - "texture": { "u": 36, "v": 32 }, - "face": "south", - "position": [ -4, 8, 14 ], "size": [ 8, 4 ], "stretch": 0.25 - }, - { - "type": "mson:plane", "__comment": "back", - "texture": { "u": 32, "v": 36 }, - "face": "up", - "position": [ -4, 4, 2 ], "size": [ 8, 12 ], "stretch": 0.25 + "type": "mson:planar", + "stretch": 0.26, + "__comment": [ + "body sides a", + "body sides b", + "qt mark a", + "qt mark b", + "body sides a", + "body sides b", + "qt mark a", + "qt mark b", + "stomach a", + "stomach b", + "stomach c", + "butt", + "butt" + ], + "east": [ + [ 4, 4, 2, 8, 4, 12, 32 ], + [ 4, 8, 2, 8, 4, 12, 48 ], + [ 4, 4, 10, 4, 4, 0, 32 ], + [ 4, 8, 10, 4, 4, 0, 48 ] + ], + "west": [ + [ -4, 4, 2, 8, 4, 12, 32 ], + [ -4, 8, 2, 8, 4, 12, 48 ], + [ -4, 4, 10, 4, 4, 0, 32 ], + [ -4, 8, 10, 4, 4, 0, 48 ] + ], + "down": [ + [ -4, 12, 2, 8, 4, 28, 48 ], + [ -4, 12, 6, 8, 4, 44, 48 ], + [ -4, 12, 10, 8, 4, 36, 32 ] + ], + "south": [ + [ -4, 4, 14, 8, 4, 36, 32 ], + [ -4, 8, 14, 8, 4, 36, 32 ] + ], + "up": [ + [ -4, 4, 2, 8, 12, 32, 36 ] + ] } ] },