Skip to content

Commit 8cfc20b

Browse files
committed
add test multiblock (wip #3)
1 parent a1f0c29 commit 8cfc20b

4 files changed

Lines changed: 206 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"code": "test-multiblock",
3+
"class": "BlockGeneric",
4+
"creativeInventory": {
5+
"general": [
6+
"*"
7+
],
8+
"example": [
9+
"*"
10+
]
11+
},
12+
"drawType": "JSON",
13+
"shape": {
14+
"base": "example:block/test-multiblock"
15+
}
16+
}
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"editor": {},
3+
"textureWidth": 64,
4+
"textureHeight": 64,
5+
"textureSizes": {
6+
"bottom": [
7+
64,
8+
64
9+
],
10+
"top": [
11+
64,
12+
64
13+
]
14+
},
15+
"textures": {
16+
"bottom": "example:block/test-multiblock/bottom",
17+
"top": "example:block/test-multiblock/top"
18+
},
19+
"elements": [
20+
{
21+
"name": "root",
22+
"from": [
23+
8,
24+
0,
25+
8
26+
],
27+
"to": [
28+
8,
29+
0,
30+
8
31+
],
32+
"rotationOrigin": [
33+
8,
34+
0,
35+
8
36+
],
37+
"children": [
38+
{
39+
"name": "top",
40+
"from": [
41+
-7,
42+
16,
43+
-7
44+
],
45+
"to": [
46+
7,
47+
30,
48+
7
49+
],
50+
"rotationOrigin": [
51+
0,
52+
0,
53+
0
54+
],
55+
"faces": {
56+
"north": {
57+
"texture": "#top",
58+
"uv": [
59+
0,
60+
0,
61+
14,
62+
14
63+
]
64+
},
65+
"east": {
66+
"texture": "#top",
67+
"uv": [
68+
0,
69+
14,
70+
14,
71+
28
72+
]
73+
},
74+
"south": {
75+
"texture": "#top",
76+
"uv": [
77+
14,
78+
0,
79+
28,
80+
14
81+
]
82+
},
83+
"west": {
84+
"texture": "#top",
85+
"uv": [
86+
14,
87+
14,
88+
28,
89+
28
90+
]
91+
},
92+
"up": {
93+
"texture": "#top",
94+
"uv": [
95+
14,
96+
42,
97+
0,
98+
28
99+
]
100+
},
101+
"down": {
102+
"texture": "#top",
103+
"uv": [
104+
42,
105+
0,
106+
28,
107+
14
108+
]
109+
}
110+
}
111+
},
112+
{
113+
"name": "bottom",
114+
"from": [
115+
-8,
116+
0,
117+
-8
118+
],
119+
"to": [
120+
8,
121+
16,
122+
8
123+
],
124+
"rotationOrigin": [
125+
0,
126+
0,
127+
0
128+
],
129+
"faces": {
130+
"north": {
131+
"texture": "#bottom",
132+
"uv": [
133+
0,
134+
0,
135+
16,
136+
16
137+
]
138+
},
139+
"east": {
140+
"texture": "#bottom",
141+
"uv": [
142+
0,
143+
16,
144+
16,
145+
32
146+
]
147+
},
148+
"south": {
149+
"texture": "#bottom",
150+
"uv": [
151+
16,
152+
0,
153+
32,
154+
16
155+
]
156+
},
157+
"west": {
158+
"texture": "#bottom",
159+
"uv": [
160+
16,
161+
16,
162+
32,
163+
32
164+
]
165+
},
166+
"up": {
167+
"texture": "#bottom",
168+
"uv": [
169+
16,
170+
48,
171+
0,
172+
32
173+
]
174+
},
175+
"down": {
176+
"texture": "#bottom",
177+
"uv": [
178+
48,
179+
0,
180+
32,
181+
16
182+
]
183+
}
184+
}
185+
}
186+
]
187+
}
188+
],
189+
"animations": []
190+
}
368 Bytes
Loading
377 Bytes
Loading

0 commit comments

Comments
 (0)