Remove "offset" and use "center"

This commit is contained in:
Sollace 2021-06-19 14:37:45 +02:00
parent d476f21d5e
commit 14dc9bc3b8
6 changed files with 17 additions and 22 deletions

View file

@ -7,7 +7,7 @@
}, },
"right": { "right": {
"texture": {"u": 12, "v": 16}, "texture": {"u": 12, "v": 16},
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"cubes": [ "cubes": [
{ "from": [-4, -8, -1], "size": [2, 2, 2] }, { "from": [-4, -8, -1], "size": [2, 2, 2] },
{ "from": [-3.5, -8.49, -1.001], "size": [1, 1, 1], "texture": {"u": 0, "v": 3} }, { "from": [-3.5, -8.49, -1.001], "size": [1, 1, 1], "texture": {"u": 0, "v": 3} },
@ -16,8 +16,8 @@
}, },
"left": { "left": {
"texture": {"u": 12, "v": 16}, "texture": {"u": 12, "v": 16},
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"mirror": true, "mirror": [true, false, false],
"cubes": [ "cubes": [
{ "from": [2, -8, -1], "size": [2, 2, 2] }, { "from": [2, -8, -1], "size": [2, 2, 2] },
{ "from": [2.5, -8.49, -1.001], "size": [1, 1, 1], "texture": {"u": 0, "v": 3} }, { "from": [2.5, -8.49, -1.001], "size": [1, 1, 1], "texture": {"u": 0, "v": 3} },

View file

@ -7,15 +7,15 @@
}, },
"right": { "right": {
"texture": {"u": 12, "v": 16}, "texture": {"u": 12, "v": 16},
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"cubes": [ "cubes": [
{ "from": [-4, -8, -1], "size": [2, 2, 2] } { "from": [-4, -8, -1], "size": [2, 2, 2] }
] ]
}, },
"left": { "left": {
"texture": {"u": 12, "v": 16}, "texture": {"u": 12, "v": 16},
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"mirror": true, "mirror": [true, false, false],
"cubes": [ "cubes": [
{ "from": [2, -8, -1], "size": [2, 2, 2] } { "from": [2, -8, -1], "size": [2, 2, 2] }
] ]

View file

@ -6,15 +6,15 @@
"z": 0 "z": 0
}, },
"bone": { "bone": {
"offset": ["#x", "#y", "#z"],
"rotate": [29, 0, 0], "rotate": [29, 0, 0],
"center": ["#x", "#y", "#z"],
"cubes": [ "cubes": [
{ "from": [-0.5, -11, -3.5], "size": [1, 4, 1] } { "from": [-0.5, -11, -3.5], "size": [1, 4, 1] }
] ]
}, },
"corona": { "corona": {
"offset": ["#x", "#y", "#z"],
"rotate": [29, 0, 0], "rotate": [29, 0, 0],
"center": ["#x", "#y", "#z"],
"cubes": [ "cubes": [
{ {
"type": "mson:cone", "type": "mson:cone",

View file

@ -1,14 +1,9 @@
{ {
"parent": "minelittlepony:components/snout", "parent": "minelittlepony:components/snout",
"texture": {"w": 64, "h": 64, "u": 16, "v": 8}, "texture": {"w": 64, "h": 64, "u": 16, "v": 8},
"locals": {
"x": 0,
"y": 0,
"z": 0
},
"mare": { "mare": {
"type": "mson:planar", "type": "mson:planar",
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"north": [-2, -1, -7, 4, 3, 10, 13], "north": [-2, -1, -7, 4, 3, 10, 13],
"up": [-2, -1, -7, 4, 1, 10, 13], "up": [-2, -1, -7, 4, 1, 10, 13],
"down": [-2, 2, -7, 4, 1, 18, 7], "down": [-2, 2, -7, 4, 1, 18, 7],

View file

@ -7,7 +7,7 @@
}, },
"stallion": { "stallion": {
"type": "mson:planar", "type": "mson:planar",
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"north": [-2, -1, -7, 4, 3, 10, 13], "north": [-2, -1, -7, 4, 3, 10, 13],
"up": [-2, -1, -7, 4, 1, 10, 13], "up": [-2, -1, -7, 4, 1, 10, 13],
"down": [-2, 2, -7, 4, 1, 18, 7], "down": [-2, 2, -7, 4, 1, 18, 7],
@ -16,7 +16,7 @@
}, },
"mare": { "mare": {
"type": "mson:planar", "type": "mson:planar",
"offset": ["#x", "#y", "#z"], "center": ["#x", "#y", "#z"],
"north": [ "north": [
[-2, 0, -7, 4, 2, 10, 14], [-2, 0, -7, 4, 2, 10, 14],
[-1, -1, -7, 2, 1, 11, 13] [-1, -1, -7, 2, 1, 11, 13]

View file

@ -10,8 +10,8 @@
"name": "snout", "name": "snout",
"locals": { "locals": {
"x": 0, "x": 0,
"y": -2, "y": -4,
"z": 2 "z": 4
}, },
"implementation": "com.minelittlepony.client.model.part.PonySnout", "implementation": "com.minelittlepony.client.model.part.PonySnout",
"content": "minelittlepony:components/snout" "content": "minelittlepony:components/snout"
@ -21,8 +21,8 @@
"name": "ears", "name": "ears",
"locals": { "locals": {
"x": 0, "x": 0,
"y": -1, "y": -2,
"z": 1 "z": 2
}, },
"implementation": "com.minelittlepony.client.model.part.PonyEars", "implementation": "com.minelittlepony.client.model.part.PonyEars",
"content": "minelittlepony:components/ears" "content": "minelittlepony:components/ears"
@ -32,8 +32,8 @@
"name": "horn", "name": "horn",
"locals": { "locals": {
"x": 0, "x": 0,
"y": -1, "y": -2,
"z": 2 "z": 4
}, },
"implementation": "com.minelittlepony.client.model.part.UnicornHorn", "implementation": "com.minelittlepony.client.model.part.UnicornHorn",
"content": "minelittlepony:components/horn" "content": "minelittlepony:components/horn"