Skip to content

Commit 9f51784

Browse files
committed
Made overlay textures power of 2 + fixed bugs
1 parent be7af09 commit 9f51784

23 files changed

+1046
-1046
lines changed

src/generated/resources/assets/signpost/models/block/large_sign.json

Lines changed: 93 additions & 93 deletions
Large diffs are not rendered by default.

src/generated/resources/assets/signpost/models/block/large_sign_flipped.json

Lines changed: 93 additions & 93 deletions
Large diffs are not rendered by default.

src/generated/resources/assets/signpost/models/block/large_sign_overlay.json

Lines changed: 102 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -18,46 +18,46 @@
1818
"down": {
1919
"texture": "#texture",
2020
"uv": [
21-
1.3333334,
22-
8.666667,
23-
0.6666667,
24-
9.333334
21+
0.5,
22+
6.5,
23+
1.0,
24+
7.0
2525
]
2626
},
2727
"up": {
2828
"texture": "#texture",
2929
"uv": [
30-
1.3333334,
31-
0.6666667,
32-
0.6666667,
33-
1.3333334
30+
0.5,
31+
0.5,
32+
1.0,
33+
1.0
3434
]
3535
},
3636
"north": {
3737
"texture": "#texture",
3838
"uv": [
39-
0.6666667,
40-
1.3333334,
41-
1.3333334,
42-
8.666667
39+
1.0,
40+
1.0,
41+
0.5,
42+
6.5
4343
]
4444
},
4545
"south": {
4646
"texture": "#texture",
4747
"uv": [
48-
1.3333334,
49-
1.3333334,
50-
0.6666667,
51-
8.666667
48+
0.5,
49+
1.0,
50+
1.0,
51+
6.5
5252
]
5353
},
5454
"west": {
5555
"texture": "#texture",
5656
"uv": [
57-
0.6666667,
58-
1.3333334,
5957
0.0,
60-
8.666667
58+
1.0,
59+
0.5,
60+
6.5
6161
]
6262
}
6363
}
@@ -77,55 +77,55 @@
7777
"down": {
7878
"texture": "#texture",
7979
"uv": [
80-
13.333334,
81-
9.333334,
82-
1.3333334,
83-
10.0
80+
1.0,
81+
7.0,
82+
10.0,
83+
7.5
8484
]
8585
},
8686
"up": {
8787
"texture": "#texture",
8888
"uv": [
89-
13.333334,
89+
1.0,
9090
0.0,
91-
1.3333334,
92-
0.6666667
91+
10.0,
92+
0.5
9393
]
9494
},
9595
"north": {
9696
"texture": "#texture",
9797
"uv": [
98-
1.3333334,
99-
0.6666667,
100-
13.333334,
101-
9.333334
98+
10.0,
99+
0.5,
100+
1.0,
101+
7.0
102102
]
103103
},
104104
"south": {
105105
"texture": "#texture",
106106
"uv": [
107-
13.333334,
108-
0.6666667,
109-
1.3333334,
110-
9.333334
107+
1.0,
108+
0.5,
109+
10.0,
110+
7.0
111111
]
112112
},
113113
"west": {
114114
"texture": "#texture",
115115
"uv": [
116-
1.3333334,
117-
0.6666667,
118-
0.6666667,
119-
9.333334
116+
0.5,
117+
0.5,
118+
1.0,
119+
7.0
120120
]
121121
},
122122
"east": {
123123
"texture": "#texture",
124124
"uv": [
125-
14.0,
126-
0.6666667,
127-
13.333334,
128-
9.333334
125+
10.0,
126+
0.5,
127+
10.5,
128+
7.0
129129
]
130130
}
131131
}
@@ -145,46 +145,46 @@
145145
"down": {
146146
"texture": "#texture",
147147
"uv": [
148-
14.0,
149-
8.666667,
150-
13.333334,
151-
9.333334
148+
10.0,
149+
6.5,
150+
10.5,
151+
7.0
152152
]
153153
},
154154
"up": {
155155
"texture": "#texture",
156156
"uv": [
157-
14.0,
158-
0.6666667,
159-
13.333334,
160-
1.3333334
157+
10.0,
158+
0.5,
159+
10.5,
160+
1.0
161161
]
162162
},
163163
"north": {
164164
"texture": "#texture",
165165
"uv": [
166-
13.333334,
167-
1.3333334,
168-
14.0,
169-
8.666667
166+
10.5,
167+
1.0,
168+
10.0,
169+
6.5
170170
]
171171
},
172172
"south": {
173173
"texture": "#texture",
174174
"uv": [
175-
14.0,
176-
1.3333334,
177-
13.333334,
178-
8.666667
175+
10.0,
176+
1.0,
177+
10.5,
178+
6.5
179179
]
180180
},
181181
"east": {
182182
"texture": "#texture",
183183
"uv": [
184-
14.666667,
185-
1.3333334,
186-
14.0,
187-
8.666667
184+
10.5,
185+
1.0,
186+
11.0,
187+
6.5
188188
]
189189
}
190190
}
@@ -204,46 +204,46 @@
204204
"down": {
205205
"texture": "#texture",
206206
"uv": [
207-
14.666667,
208-
7.3333335,
209-
14.0,
210-
8.0
207+
10.5,
208+
5.5,
209+
11.0,
210+
6.0
211211
]
212212
},
213213
"up": {
214214
"texture": "#texture",
215215
"uv": [
216-
14.666667,
217-
2.0,
218-
14.0,
219-
2.6666667
216+
10.5,
217+
1.5,
218+
11.0,
219+
2.0
220220
]
221221
},
222222
"north": {
223223
"texture": "#texture",
224224
"uv": [
225-
14.0,
226-
2.6666667,
227-
14.666667,
228-
7.3333335
225+
11.0,
226+
2.0,
227+
10.5,
228+
5.5
229229
]
230230
},
231231
"south": {
232232
"texture": "#texture",
233233
"uv": [
234-
14.666667,
235-
2.6666667,
236-
14.0,
237-
7.3333335
234+
10.5,
235+
2.0,
236+
11.0,
237+
5.5
238238
]
239239
},
240240
"east": {
241241
"texture": "#texture",
242242
"uv": [
243-
15.333334,
244-
2.6666667,
245-
14.666667,
246-
7.3333335
243+
11.0,
244+
2.0,
245+
11.5,
246+
5.5
247247
]
248248
}
249249
}
@@ -263,46 +263,46 @@
263263
"down": {
264264
"texture": "#texture",
265265
"uv": [
266-
15.333334,
267-
6.0,
268-
14.666667,
269-
6.666667
266+
11.0,
267+
4.5,
268+
11.5,
269+
5.0
270270
]
271271
},
272272
"up": {
273273
"texture": "#texture",
274274
"uv": [
275-
15.333334,
276-
3.3333335,
277-
14.666667,
278-
4.0
275+
11.0,
276+
2.5,
277+
11.5,
278+
3.0
279279
]
280280
},
281281
"north": {
282282
"texture": "#texture",
283283
"uv": [
284-
14.666667,
285-
4.0,
286-
15.333334,
287-
6.0
284+
11.5,
285+
3.0,
286+
11.0,
287+
4.5
288288
]
289289
},
290290
"south": {
291291
"texture": "#texture",
292292
"uv": [
293-
15.333334,
294-
4.0,
295-
14.666667,
296-
6.0
293+
11.0,
294+
3.0,
295+
11.5,
296+
4.5
297297
]
298298
},
299299
"east": {
300300
"texture": "#texture",
301301
"uv": [
302-
16.0,
303-
4.0,
304-
15.333334,
305-
6.0
302+
11.5,
303+
3.0,
304+
12.0,
305+
4.5
306306
]
307307
}
308308
}

0 commit comments

Comments
 (0)