Skip to content

Commit ecff9c5

Browse files
Merge pull request #43 from CodeMonkeysMods/models-and-textures
Fixed furnace models
2 parents 66b2cef + 73ee07b commit ecff9c5

3 files changed

Lines changed: 48 additions & 12 deletions

File tree

src/main/resources/assets/minetale/models/block/bench/furnace_bottom.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
},
99
"elements": [
1010
{
11-
"from": [0, 0, 1],
12-
"to": [32, 5, 15],
13-
"rotation": {"angle": 0, "axis": "y", "origin": [-8, 0, 0]},
11+
"from": [1, 0, 1],
12+
"to": [31, 5, 15],
1413
"faces": {
1514
"north": {"uv": [0, 2.5, 7.5, 3.75], "texture": "#0"},
1615
"east": {"uv": [7.5, 2.5, 11, 3.75], "texture": "#0"},
@@ -22,7 +21,7 @@
2221
{
2322
"from": [0, 5, 0],
2423
"to": [32, 8, 16],
25-
"rotation": {"angle": 0, "axis": "y", "origin": [-8, 6, 0]},
24+
"rotation": {"angle": 0, "axis": "y", "origin": [0, 6, 0]},
2625
"faces": {
2726
"north": {"uv": [0, 1.75, 8, 2.5], "texture": "#0"},
2827
"east": {"uv": [8, 1.75, 12, 2.5], "texture": "#0"},
@@ -35,7 +34,7 @@
3534
{
3635
"from": [4, 8, 2],
3736
"to": [28, 15, 14],
38-
"rotation": {"angle": 0, "axis": "y", "origin": [-8, 8, 0]},
37+
"rotation": {"angle": 0, "axis": "y", "origin": [0, 8, 0]},
3938
"faces": {
4039
"north": {"uv": [7, 0, 13, 1.75], "texture": "#0"},
4140
"east": {"uv": [6.1875, 0, 6.8125, 1.75], "texture": "#0"},
@@ -44,9 +43,9 @@
4443
}
4544
},
4645
{
47-
"from": [24.5, 0, 3.5],
48-
"to": [30.5, 16, 12.5],
49-
"rotation": {"angle": 15, "axis": "z", "origin": [23.5, 8, 8]},
46+
"from": [27.5, 8, 3.5],
47+
"to": [31.5, 16, 12.5],
48+
"rotation": {"angle": 15, "axis": "z", "origin": [31.5, 8, 8]},
5049
"faces": {
5150
"north": {"uv": [0, 8.75, 1, 10.75], "texture": "#0"},
5251
"east": {"uv": [0, 8.75, 2.25, 10.75], "texture": "#0"},
@@ -55,13 +54,24 @@
5554
},
5655
{
5756
"from": [0.5, 8, 3.5],
58-
"to": [4.5, 24, 12.5],
59-
"rotation": {"angle": -15, "axis": "z", "origin": [-7.5, 8, 8]},
57+
"to": [4.5, 16, 12.5],
58+
"rotation": {"angle": -15, "axis": "z", "origin": [0.5, 8, 8]},
6059
"faces": {
6160
"north": {"uv": [1.25, 8.75, 2.25, 10.75], "texture": "#0"},
6261
"south": {"uv": [0, 8.75, 1, 10.75], "texture": "#0"},
6362
"west": {"uv": [0, 8.75, 2.25, 10.75], "texture": "#0"}
6463
}
64+
},
65+
{
66+
"from": [21, 14, 14],
67+
"to": [11, 8, 2],
68+
"rotation": {"angle": 0, "axis": "y", "origin": [0, 8, 0]},
69+
"faces": {
70+
"north": {"uv": [13.5, 4, 16, 5.5], "texture": "#0"},
71+
"east": {"uv": [16, 2.5, 13, 4], "texture": "#0"},
72+
"west": {"uv": [13, 2.5, 16, 4], "texture": "#0"},
73+
"down": {"uv": [13, 0, 16, 2.5], "rotation": 180, "texture": "#0"}
74+
}
6575
}
6676
]
6777
}

src/main/resources/assets/minetale/models/block/bench/furnace_top.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"from": [2, -1, 1],
1212
"to": [30, 5, 15],
13-
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -1, 0]},
13+
"rotation": {"angle": 0, "axis": "y", "origin": [0, -1, 0]},
1414
"faces": {
1515
"north": {"uv": [0, 3.75, 7, 5.25], "texture": "#0"},
1616
"east": {"uv": [7, 3.75, 10.5, 5.25], "texture": "#0"},
@@ -23,14 +23,27 @@
2323
{
2424
"from": [7, 5, 4],
2525
"to": [25, 15, 12],
26-
"rotation": {"angle": 0, "axis": "y", "origin": [-8, 5, 0]},
26+
"rotation": {"angle": 0, "axis": "y", "origin": [0, 5, 0]},
2727
"faces": {
2828
"north": {"uv": [0, 6.25, 4.5, 8.75], "texture": "#0"},
2929
"east": {"uv": [4.5, 6.25, 6.5, 8.75], "texture": "#0"},
3030
"south": {"uv": [0, 6.25, 4.5, 8.75], "texture": "#0"},
3131
"west": {"uv": [4.5, 6.25, 6.5, 8.75], "texture": "#0"},
3232
"up": {"uv": [11.25, 6.25, 15.75, 8.25], "texture": "#0"}
3333
}
34+
},
35+
{
36+
"from": [6, 10, 3],
37+
"to": [26, 14, 13],
38+
"rotation": {"angle": 0, "axis": "y", "origin": [0, 10, 0]},
39+
"faces": {
40+
"north": {"uv": [0, 5.25, 5, 6.25], "texture": "#0"},
41+
"east": {"uv": [5, 5.25, 7.5, 6.25], "texture": "#0"},
42+
"south": {"uv": [0, 5.25, 5, 6.25], "texture": "#0"},
43+
"west": {"uv": [5, 5.25, 7.5, 6.25], "texture": "#0"},
44+
"up": {"uv": [11, 6, 16, 8.5], "texture": "#0"},
45+
"down": {"uv": [11, 6, 16, 8.5], "texture": "#0"}
46+
}
3447
}
3548
]
3649
}

src/main/resources/assets/minetale/models/item/bench/furnace.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@
9898
"west": {"uv": [13, 2.5, 16, 4], "texture": "#0"},
9999
"down": {"uv": [13, 0, 16, 2.5], "rotation": 180, "texture": "#0"}
100100
}
101+
},
102+
{
103+
"from": [-2, 18, 3],
104+
"to": [18, 22, 13],
105+
"rotation": {"angle": 0, "axis": "y", "origin": [-8, 18, 0]},
106+
"faces": {
107+
"north": {"uv": [0, 5.25, 5, 6.25], "texture": "#0"},
108+
"east": {"uv": [5, 5.25, 7.5, 6.25], "texture": "#0"},
109+
"south": {"uv": [0, 5.25, 5, 6.25], "texture": "#0"},
110+
"west": {"uv": [5, 5.25, 7.5, 6.25], "texture": "#0"},
111+
"up": {"uv": [11, 6, 16, 8.5], "texture": "#0"},
112+
"down": {"uv": [11, 6, 16, 8.5], "texture": "#0"}
113+
}
101114
}
102115
],
103116
"display": {

0 commit comments

Comments
 (0)