Fix inconsistent model rotation

This commit is contained in:
oitsjustjose 2022-10-19 20:40:45 -05:00
commit d417cb297a
4 changed files with 30 additions and 27 deletions

View file

@ -21,18 +21,18 @@
},
"face=floor,facing=east,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 90
"y": 270
},
"face=floor,facing=north,activated=false": {
"model": "charged_explosives:block/charged_explosive_off"
},
"face=floor,facing=south,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 180
},
"face=floor,facing=south,activated=false": {
"model": "charged_explosives:block/charged_explosive_off"
},
"face=floor,facing=west,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 270
"y": 90
},
"face=wall,facing=east,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
@ -74,18 +74,18 @@
},
"face=floor,facing=east,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 90
"y": 270
},
"face=floor,facing=north,activated=true": {
"model": "charged_explosives:block/charged_explosive_on"
},
"face=floor,facing=south,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 180
},
"face=floor,facing=south,activated=true": {
"model": "charged_explosives:block/charged_explosive_on"
},
"face=floor,facing=west,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 270
"y": 90
},
"face=wall,facing=east,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",

View file

@ -11,19 +11,20 @@
"name": "charged_explosive_main",
"from": [2, 0, 4],
"to": [14, 3, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 1.5, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [6, 10, 10, 13], "texture": "#0"},
"south": {"uv": [0, 13, 6, 16], "texture": "#0"},
"west": {"uv": [6, 13, 10, 16], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "texture": "#0"}
"north": {"uv": [0, 13, 6, 16], "texture": "#0"},
"east": {"uv": [6, 13, 10, 16], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [6, 10, 10, 13], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "rotation": 180, "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "rotation": 180, "texture": "#0"}
}
},
{
"name": "shaped_charge_light",
"from": [10, 3, 7],
"to": [12, 4, 9],
"from": [4, 3, 7],
"to": [6, 4, 9],
"faces": {
"north": {"uv": [8, 0, 16, 4], "texture": "#2"},
"east": {"uv": [8, 8, 16, 12], "texture": "#2"},

View file

@ -11,19 +11,21 @@
"name": "charged_explosive_main",
"from": [2, 0, 4],
"to": [14, 3, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 1.5, 8]},
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [6, 10, 10, 13], "texture": "#0"},
"south": {"uv": [0, 13, 6, 16], "texture": "#0"},
"west": {"uv": [6, 13, 10, 16], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "texture": "#0"}
"north": {"uv": [0, 13, 6, 16], "texture": "#0"},
"east": {"uv": [6, 13, 10, 16], "texture": "#0"},
"south": {"uv": [0, 10, 6, 13], "texture": "#0"},
"west": {"uv": [6, 10, 10, 13], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "rotation": 180, "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "rotation": 180, "texture": "#0"}
}
},
{
"name": "shaped_charge_light",
"from": [10, 3, 7],
"to": [12, 4, 9],
"from": [4, 3, 7],
"to": [6, 4, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 3.5, 8]},
"faces": {
"north": {"uv": [8, 0, 16, 4], "texture": "#2"},
"east": {"uv": [8, 8, 16, 12], "texture": "#2"},