Skip to content

Commit 1da9f7c

Browse files
authored
Merge pull request #83 from Polaris-Bears-MC/baka4n-update
stairs楼梯datagen 方块状态快速生成模板
2 parents 7e3b209 + df84858 commit 1da9f7c

File tree

1 file changed

+163
-4
lines changed
  • processor/src/main/java/org/polaris2023/utils

1 file changed

+163
-4
lines changed

processor/src/main/java/org/polaris2023/utils/Codes.java

+163-4
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public final class %%classname%% implements DataProvider, IModel<%%classname%%>
170170
"facing=east,half=bottom,shape=straight", Map.of(
171171
"model", blockKey.toString()
172172
),
173-
"facing=east,half= top,shape=inner_left", Map.of(
173+
"facing=east,half=top,shape=inner_left", Map.of(
174174
"model", inner.toString(),
175175
"uvlock", true,
176176
"x", 180
@@ -184,7 +184,7 @@ public final class %%classname%% implements DataProvider, IModel<%%classname%%>
184184
"facing=east,half=top,shape=outer_left", Map.of(
185185
"model", outer.toString(),
186186
"uvlock", true,
187-
"z", 180
187+
"x", 180
188188
),
189189
"facing=east,half=top,shape=outer_right", Map.of(
190190
"model", outer.toString(),
@@ -193,11 +193,170 @@ public final class %%classname%% implements DataProvider, IModel<%%classname%%>
193193
"y", 90
194194
195195
),
196-
"facing=east,half= top,shape=straight", Map.of(
196+
"facing=east,half=top,shape=straight", Map.of(
197197
"model", blockKey.toString(),
198198
"uvlock", true,
199199
"x", 180
200-
)
200+
),
201+
"facing=north,half=bottom,shape=inner_left", Map.of(
202+
"model", inner.toString(),
203+
"uvlock", true,
204+
"y", 180
205+
),
206+
"facing=north,half=bottom,shape=inner_right", Map.of(
207+
"model", inner.toString(),
208+
"uvlock", true,
209+
"y", 270
210+
),
211+
"facing=north,half=bottom,shape=outer_left", Map.of(
212+
"model", outer.toString(),
213+
"uvlock", true,
214+
"y", 180
215+
),
216+
"facing=north,half=bottom,shape=outer_right", Map.of(
217+
"model", outer.toString(),
218+
"uvlock", true,
219+
"y", 270
220+
),
221+
"facing=north,half=bottom,shape=straight", Map.of(
222+
"model", blockKey.toString(),
223+
"uvlock", true,
224+
"y", 270
225+
),
226+
"facing=north,half=top,shape=inner_left", Map.of(
227+
"model", inner.toString(),
228+
"uvlock", true,
229+
"x", 180,
230+
"y", 270
231+
),
232+
"facing=north,half=top,shape=inner_right", Map.of(
233+
"model", inner.toString(),
234+
"uvlock", true,
235+
"x", 180
236+
),
237+
"facing=north,half=top,shape=outer_left", Map.of(
238+
"model", outer.toString(),
239+
"uvlock", true,
240+
"x", 180
241+
),
242+
"facing=north,half=top,shape=outer_right", Map.of(
243+
"model", outer.toString(),
244+
"uvlock", true,
245+
"x", 180
246+
),
247+
"facing=north,half=top,shape=straight", Map.of(
248+
"model", blockKey.toString(),
249+
"uvlock", true,
250+
"x", 180,
251+
"y", 270
252+
),
253+
"facing=south,half=bottom,shape=inner_left", Map.of(
254+
"model", inner.toString()
255+
),
256+
"facing=south,half=bottom,shape=inner_right", Map.of(
257+
"model", inner.toString(),
258+
"uvlock", true,
259+
"y", 90
260+
),
261+
"facing=south,half=bottom,shape=outer_left", Map.of(
262+
"model", outer.toString()
263+
),
264+
"facing=south,half=bottom,shape=outer_right", Map.of(
265+
"model", outer.toString(),
266+
"uvlock", true,
267+
"y", 90
268+
),
269+
"facing=south,half=bottom,shape=straight", Map.of(
270+
"model", blockKey.toString(),
271+
"uvlock", true,
272+
"y", 90
273+
),
274+
"facing=south,half=top,shape=inner_left", Map.of(
275+
"model", inner.toString(),
276+
"uvlock", true,
277+
"x", 180,
278+
"y", 90
279+
),
280+
"facing=south,half=top,shape=inner_right", Map.of(
281+
"model", inner.toString(),
282+
"uvlock", true,
283+
"x", 180,
284+
"y", 180
285+
),
286+
"facing=south,half=top,shape=outer_left", Map.of(
287+
"model", outer.toString(),
288+
"uvlock", true,
289+
"x", 180,
290+
"y", 90
291+
),
292+
"facing=south,half=top,shape=outer_right", Map.of(
293+
"model", outer.toString(),
294+
"uvlock", true,
295+
"x", 180,
296+
"y", 180
297+
),
298+
"facing=south,half=top,shape=straight", Map.of(
299+
"model", blockKey.toString(),
300+
"uvlock", true,
301+
"x", 180,
302+
"y", 90
303+
),
304+
"facing=west,half=bottom,shape=inner_left", Map.of(
305+
"model", inner.toString(),
306+
"uvlock", true,
307+
"y", 90
308+
),
309+
"facing=west,half=bottom,shape=inner_right", Map.of(
310+
"model", inner.toString(),
311+
"uvlock", true,
312+
"y", 180
313+
),
314+
"facing=west,half=bottom,shape=outer_left", Map.of(
315+
"model", outer.toString(),
316+
"uvlock", true,
317+
"y", 90
318+
),
319+
"facing=west,half=bottom,shape=outer_right", Map.of(
320+
"model", outer.toString(),
321+
"uvlock", true,
322+
"y", 180
323+
),
324+
"facing=west,half=bottom,shape=straight", Map.of(
325+
"model", blockKey.toString(),
326+
"uvlock", true,
327+
"y", 180
328+
),
329+
"facing=west,half=top,shape=inner_left", Map.of(
330+
"model", inner.toString(),
331+
"uvlock", true,
332+
"x", 180,
333+
"y", 180
334+
),
335+
"facing=west,half=top,shape=inner_right", Map.of(
336+
"model", inner.toString(),
337+
"uvlock", true,
338+
"x", 180,
339+
"y", 270
340+
),
341+
"facing=west,half=top,shape=outer_left", Map.of(
342+
"model", outer.toString(),
343+
"uvlock", true,
344+
"x", 180,
345+
"y", 180
346+
),
347+
"facing=west,half=top,shape=outer_right", Map.of(
348+
"model", outer.toString(),
349+
"uvlock", true,
350+
"x", 180,
351+
"y", 270
352+
),
353+
"facing=west,half=top,shape=straight", Map.of(
354+
"model", blockKey.toString(),
355+
"uvlock", true,
356+
"x", 180,
357+
"y", 180
358+
),
359+
201360
)
202361
));
203362
return this;

0 commit comments

Comments
 (0)