Skip to content

Commit aed8fd8

Browse files
committed
🐛 Fix backwards chest model
1 parent 8a7501f commit aed8fd8

File tree

2 files changed

+69
-21
lines changed

2 files changed

+69
-21
lines changed

src/assets/vanillaAssetOverrides/minecraft/models/block/chest.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"parent": "block/block",
23
"textures": {
34
"0": "entity/chest/normal"
45
},
@@ -8,38 +9,38 @@
89
"to": [15, 14, 15],
910
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11.5, 8] },
1011
"faces": {
11-
"north": { "uv": [10.5, 3.5, 14, 4.75], "rotation": 180, "texture": "#0" },
12-
"east": { "uv": [0, 3.5, 3.5, 4.75], "rotation": 180, "texture": "#0" },
13-
"south": { "uv": [3.5, 3.5, 7, 4.75], "rotation": 180, "texture": "#0" },
14-
"west": { "uv": [7, 3.5, 10.5, 4.75], "rotation": 180, "texture": "#0" },
15-
"up": { "uv": [7, 0, 10.5, 3.5], "texture": "#0" },
16-
"down": { "uv": [3.5, 0, 7, 3.5], "texture": "#0" }
12+
"north": { "uv": [7, 3.5, 3.5, 4.75], "rotation": 180, "texture": "#0" },
13+
"east": { "uv": [3.5, 3.5, 0, 4.75], "rotation": 180, "texture": "#0" },
14+
"south": { "uv": [14, 3.5, 10.5, 4.75], "rotation": 180, "texture": "#0" },
15+
"west": { "uv": [10.5, 3.5, 7, 4.75], "rotation": 180, "texture": "#0" },
16+
"up": { "uv": [7, 3.5, 10.5, 0], "texture": "#0" },
17+
"down": { "uv": [3.5, 3.5, 7, 0], "texture": "#0" }
1718
}
1819
},
1920
{
20-
"from": [7, 8, 0],
21-
"to": [9, 12, 1],
22-
"rotation": { "angle": 0, "axis": "y", "origin": [8, 10, 0.5] },
21+
"from": [7, 8, 15],
22+
"to": [9, 12, 16],
23+
"rotation": { "angle": 0, "axis": "y", "origin": [8, 10, 15.5] },
2324
"faces": {
24-
"north": { "uv": [0.5, 1.25, 1, 0.25], "texture": "#0" },
25-
"east": { "uv": [0.25, 1.25, 0.5, 0.25], "texture": "#0" },
26-
"south": { "uv": [0.5, 1.25, 1, 0.25], "texture": "#0" },
27-
"west": { "uv": [1, 1.25, 1.25, 0.25], "texture": "#0" },
28-
"up": { "uv": [0.5, 0, 1, 0.25], "texture": "#0" },
29-
"down": { "uv": [0.5, 0, 1, 0.25], "texture": "#0" }
25+
"north": { "uv": [1, 1.25, 0.5, 0.25], "texture": "#0" },
26+
"east": { "uv": [0.5, 1.25, 0.25, 0.25], "texture": "#0" },
27+
"south": { "uv": [1, 1.25, 0.5, 0.25], "texture": "#0" },
28+
"west": { "uv": [1.25, 1.25, 1, 0.25], "texture": "#0" },
29+
"up": { "uv": [0.5, 0.25, 1, 0], "texture": "#0" },
30+
"down": { "uv": [0.5, 0.25, 1, 0], "texture": "#0" }
3031
}
3132
},
3233
{
3334
"from": [1, 0, 1],
3435
"to": [15, 10, 15],
3536
"rotation": { "angle": 0, "axis": "y", "origin": [8, 5, 8] },
3637
"faces": {
37-
"north": { "uv": [10.5, 8.25, 14, 10.75], "rotation": 180, "texture": "#0" },
38-
"east": { "uv": [7, 8.25, 10.5, 10.75], "rotation": 180, "texture": "#0" },
39-
"south": { "uv": [3.5, 8.25, 7, 10.75], "rotation": 180, "texture": "#0" },
40-
"west": { "uv": [0, 8.25, 3.5, 10.75], "rotation": 180, "texture": "#0" },
41-
"up": { "uv": [7, 4.75, 10.5, 8.25], "texture": "#0" },
42-
"down": { "uv": [3.5, 4.75, 7, 8.25], "rotation": 180, "texture": "#0" }
38+
"north": { "uv": [7, 8.25, 3.5, 10.75], "rotation": 180, "texture": "#0" },
39+
"east": { "uv": [10.5, 8.25, 7, 10.75], "rotation": 180, "texture": "#0" },
40+
"south": { "uv": [14, 8.25, 10.5, 10.75], "rotation": 180, "texture": "#0" },
41+
"west": { "uv": [3.5, 8.25, 0, 10.75], "rotation": 180, "texture": "#0" },
42+
"up": { "uv": [7, 8.25, 10.5, 4.75], "texture": "#0" },
43+
"down": { "uv": [3.5, 8.25, 7, 4.75], "rotation": 180, "texture": "#0" }
4344
}
4445
}
4546
]
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parent": "block/block",
3+
"textures": {
4+
"0": "entity/chest/normal"
5+
},
6+
"elements": [
7+
{
8+
"from": [1, 9, 1],
9+
"to": [15, 14, 15],
10+
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11.5, 8] },
11+
"faces": {
12+
"north": { "uv": [10.5, 3.5, 14, 4.75], "rotation": 180, "texture": "#0" },
13+
"east": { "uv": [0, 3.5, 3.5, 4.75], "rotation": 180, "texture": "#0" },
14+
"south": { "uv": [3.5, 3.5, 7, 4.75], "rotation": 180, "texture": "#0" },
15+
"west": { "uv": [7, 3.5, 10.5, 4.75], "rotation": 180, "texture": "#0" },
16+
"up": { "uv": [7, 0, 10.5, 3.5], "texture": "#0" },
17+
"down": { "uv": [3.5, 0, 7, 3.5], "texture": "#0" }
18+
}
19+
},
20+
{
21+
"from": [7, 8, 0],
22+
"to": [9, 12, 1],
23+
"rotation": { "angle": 0, "axis": "y", "origin": [8, 10, 0.5] },
24+
"faces": {
25+
"north": { "uv": [0.5, 1.25, 1, 0.25], "texture": "#0" },
26+
"east": { "uv": [0.25, 1.25, 0.5, 0.25], "texture": "#0" },
27+
"south": { "uv": [0.5, 1.25, 1, 0.25], "texture": "#0" },
28+
"west": { "uv": [1, 1.25, 1.25, 0.25], "texture": "#0" },
29+
"up": { "uv": [0.5, 0, 1, 0.25], "texture": "#0" },
30+
"down": { "uv": [0.5, 0, 1, 0.25], "texture": "#0" }
31+
}
32+
},
33+
{
34+
"from": [1, 0, 1],
35+
"to": [15, 10, 15],
36+
"rotation": { "angle": 0, "axis": "y", "origin": [8, 5, 8] },
37+
"faces": {
38+
"north": { "uv": [10.5, 8.25, 14, 10.75], "rotation": 180, "texture": "#0" },
39+
"east": { "uv": [7, 8.25, 10.5, 10.75], "rotation": 180, "texture": "#0" },
40+
"south": { "uv": [3.5, 8.25, 7, 10.75], "rotation": 180, "texture": "#0" },
41+
"west": { "uv": [0, 8.25, 3.5, 10.75], "rotation": 180, "texture": "#0" },
42+
"up": { "uv": [7, 4.75, 10.5, 8.25], "texture": "#0" },
43+
"down": { "uv": [3.5, 4.75, 7, 8.25], "rotation": 180, "texture": "#0" }
44+
}
45+
}
46+
]
47+
}

0 commit comments

Comments
 (0)