Skip to content

Commit 379553b

Browse files
KaupenjoeKaupenjoe
authored andcommitted
custom 3d item model
1 parent 0476abe commit 379553b

5 files changed

Lines changed: 292 additions & 4 deletions

File tree

Lines changed: 286 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,288 @@
11
{
2-
"parent": "minecraft:item/handheld",
3-
"textures": {
4-
"layer0": "tutorialmod:item/radiation_staff"
5-
}
2+
"credit": "Made with Blockbench",
3+
"texture_size": [32, 32],
4+
"textures": {
5+
"0": "tutorialmod:item/radiation_staff",
6+
"particle": "tutorialmod:item/radiation_staff"
7+
},
8+
"elements": [
9+
{
10+
"name": "staff_grip",
11+
"from": [7.25, 0, 7.25],
12+
"to": [8.75, 11, 8.75],
13+
"rotation": {"angle": 0, "axis": "y", "origin": [8, 6.5, 8]},
14+
"faces": {
15+
"north": {"uv": [0.5, 3, 1, 8.5], "texture": "#0"},
16+
"east": {"uv": [0, 3, 0.5, 8.5], "texture": "#0"},
17+
"south": {"uv": [1.5, 3, 2, 8.5], "texture": "#0"},
18+
"west": {"uv": [1, 3, 1.5, 8.5], "texture": "#0"},
19+
"up": {"uv": [1, 3, 0.5, 2.5], "texture": "#0"},
20+
"down": {"uv": [1.5, 2.5, 1, 3], "texture": "#0"}
21+
}
22+
},
23+
{
24+
"name": "staff_pommel_ring_bottom",
25+
"from": [7, 1, 7],
26+
"to": [9, 2, 9],
27+
"faces": {
28+
"north": {"uv": [6, 8, 7, 8.5], "texture": "#0"},
29+
"east": {"uv": [5, 8, 6, 8.5], "texture": "#0"},
30+
"south": {"uv": [8, 8, 9, 8.5], "texture": "#0"},
31+
"west": {"uv": [7, 8, 8, 8.5], "texture": "#0"},
32+
"up": {"uv": [7, 8, 6, 7], "texture": "#0"},
33+
"down": {"uv": [8, 7, 7, 8], "texture": "#0"}
34+
}
35+
},
36+
{
37+
"name": "staff_pommel_ring_top",
38+
"from": [7, 9, 7],
39+
"to": [9, 10, 9],
40+
"faces": {
41+
"north": {"uv": [7, 2.5, 8, 3], "texture": "#0"},
42+
"east": {"uv": [6, 2.5, 7, 3], "texture": "#0"},
43+
"south": {"uv": [9, 2.5, 10, 3], "texture": "#0"},
44+
"west": {"uv": [8, 2.5, 9, 3], "texture": "#0"},
45+
"up": {"uv": [8, 2.5, 7, 1.5], "texture": "#0"},
46+
"down": {"uv": [9, 1.5, 8, 2.5], "texture": "#0"}
47+
}
48+
},
49+
{
50+
"name": "chappe_base",
51+
"from": [7, 11, 7],
52+
"to": [9, 12, 9],
53+
"faces": {
54+
"north": {"uv": [2.5, 9, 3.5, 9.5], "texture": "#0"},
55+
"east": {"uv": [1.5, 9, 2.5, 9.5], "texture": "#0"},
56+
"south": {"uv": [4.5, 9, 5.5, 9.5], "texture": "#0"},
57+
"west": {"uv": [3.5, 9, 4.5, 9.5], "texture": "#0"},
58+
"up": {"uv": [3.5, 9, 2.5, 8], "texture": "#0"},
59+
"down": {"uv": [4.5, 8, 3.5, 9], "texture": "#0"}
60+
}
61+
},
62+
{
63+
"name": "crystal_base_centre",
64+
"from": [6.5, 12, 6.5],
65+
"to": [9.5, 13, 9.5],
66+
"rotation": {"angle": 0, "axis": "y", "origin": [8, 12.5, 8]},
67+
"faces": {
68+
"north": {"uv": [1.5, 1.5, 3, 2], "texture": "#0"},
69+
"east": {"uv": [0, 1.5, 1.5, 2], "texture": "#0"},
70+
"south": {"uv": [4.5, 1.5, 6, 2], "texture": "#0"},
71+
"west": {"uv": [3, 1.5, 4.5, 2], "texture": "#0"},
72+
"up": {"uv": [3, 1.5, 1.5, 0], "texture": "#0"},
73+
"down": {"uv": [4.5, 0, 3, 1.5], "texture": "#0"}
74+
}
75+
},
76+
{
77+
"from": [9, 12.4, 7.1],
78+
"to": [10, 16.4, 8.9],
79+
"rotation": {"angle": -45, "axis": "z", "origin": [8, 13, 8]},
80+
"faces": {
81+
"north": {"uv": [9, 9.5, 9.5, 11.5], "texture": "#0"},
82+
"east": {"uv": [8.5, 9.5, 9, 11.5], "texture": "#0"},
83+
"south": {"uv": [10, 9.5, 10.5, 11.5], "texture": "#0"},
84+
"west": {"uv": [9.5, 9.5, 10, 11.5], "texture": "#0"},
85+
"up": {"uv": [9.5, 9.5, 9, 9], "texture": "#0"},
86+
"down": {"uv": [10, 9, 9.5, 9.5], "texture": "#0"}
87+
}
88+
},
89+
{
90+
"from": [11, 12.4, 7],
91+
"to": [12, 16, 9],
92+
"rotation": {"angle": 22.5, "axis": "z", "origin": [8, 13, 8]},
93+
"faces": {
94+
"north": {"uv": [7, 5, 7.5, 6.5], "texture": "#0"},
95+
"east": {"uv": [6, 5, 7, 6.5], "texture": "#0"},
96+
"south": {"uv": [8.5, 5, 9, 6.5], "texture": "#0"},
97+
"west": {"uv": [7.5, 5, 8.5, 6.5], "texture": "#0"},
98+
"up": {"uv": [7.5, 5, 7, 4], "texture": "#0"},
99+
"down": {"uv": [8, 4, 7.5, 5], "texture": "#0"}
100+
}
101+
},
102+
{
103+
"from": [8, 17.25, 7.1],
104+
"to": [9, 19.25, 8.9],
105+
"rotation": {"angle": -22.5, "axis": "z", "origin": [8, 13, 8]},
106+
"faces": {
107+
"north": {"uv": [10, 4, 10.5, 5], "texture": "#0"},
108+
"east": {"uv": [9.5, 4, 10, 5], "texture": "#0"},
109+
"south": {"uv": [11, 4, 11.5, 5], "texture": "#0"},
110+
"west": {"uv": [10.5, 4, 11, 5], "texture": "#0"},
111+
"up": {"uv": [10.5, 4, 10, 3.5], "texture": "#0"},
112+
"down": {"uv": [11, 3.5, 10.5, 4], "texture": "#0"}
113+
}
114+
},
115+
{
116+
"from": [6, 12.4, 7.1],
117+
"to": [7, 16.4, 8.9],
118+
"rotation": {"angle": 45, "axis": "z", "origin": [8, 13, 8]},
119+
"faces": {
120+
"north": {"uv": [6.5, 9.5, 7, 11.5], "texture": "#0"},
121+
"east": {"uv": [6, 9.5, 6.5, 11.5], "texture": "#0"},
122+
"south": {"uv": [7.5, 9.5, 8, 11.5], "texture": "#0"},
123+
"west": {"uv": [7, 9.5, 7.5, 11.5], "texture": "#0"},
124+
"up": {"uv": [7, 9.5, 6.5, 9], "texture": "#0"},
125+
"down": {"uv": [7.5, 9, 7, 9.5], "texture": "#0"}
126+
}
127+
},
128+
{
129+
"from": [4, 12.4, 7],
130+
"to": [5, 16, 9],
131+
"rotation": {"angle": -22.5, "axis": "z", "origin": [8, 13, 8]},
132+
"faces": {
133+
"north": {"uv": [3.5, 6, 4, 7.5], "texture": "#0"},
134+
"east": {"uv": [2.5, 6, 3.5, 7.5], "texture": "#0"},
135+
"south": {"uv": [5, 6, 5.5, 7.5], "texture": "#0"},
136+
"west": {"uv": [4, 6, 5, 7.5], "texture": "#0"},
137+
"up": {"uv": [4, 6, 3.5, 5], "texture": "#0"},
138+
"down": {"uv": [4.5, 5, 4, 6], "texture": "#0"}
139+
}
140+
},
141+
{
142+
"from": [7, 17.25, 7.1],
143+
"to": [8, 19.25, 8.9],
144+
"rotation": {"angle": 22.5, "axis": "z", "origin": [8, 13, 8]},
145+
"faces": {
146+
"north": {"uv": [10, 0.5, 10.5, 1.5], "texture": "#0"},
147+
"east": {"uv": [9.5, 0.5, 10, 1.5], "texture": "#0"},
148+
"south": {"uv": [11, 0.5, 11.5, 1.5], "texture": "#0"},
149+
"west": {"uv": [10.5, 0.5, 11, 1.5], "texture": "#0"},
150+
"up": {"uv": [10.5, 0.5, 10, 0], "texture": "#0"},
151+
"down": {"uv": [11, 0, 10.5, 0.5], "texture": "#0"}
152+
}
153+
},
154+
{
155+
"from": [7, 15, 7],
156+
"to": [9, 17, 9],
157+
"rotation": {"angle": 45, "axis": "z", "origin": [8, 16, 8]},
158+
"faces": {
159+
"north": {"uv": [3.5, 3.5, 4.5, 4.5], "texture": "#0"},
160+
"east": {"uv": [2.5, 3.5, 3.5, 4.5], "texture": "#0"},
161+
"south": {"uv": [5.5, 3.5, 6.5, 4.5], "texture": "#0"},
162+
"west": {"uv": [4.5, 3.5, 5.5, 4.5], "texture": "#0"},
163+
"up": {"uv": [4.5, 3.5, 3.5, 2.5], "texture": "#0"},
164+
"down": {"uv": [5.5, 2.5, 4.5, 3.5], "texture": "#0"}
165+
}
166+
},
167+
{
168+
"from": [6.2, 9.05, 7.75],
169+
"to": [6.7, 11.3, 8.25],
170+
"rotation": {"angle": -45, "axis": "z", "origin": [6.75, 10, 8]},
171+
"faces": {
172+
"north": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
173+
"east": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
174+
"south": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
175+
"west": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
176+
"up": {"uv": [10, 6.5, 10, 6.5], "texture": "#0"},
177+
"down": {"uv": [10, 6.5, 10, 6.5], "texture": "#0"}
178+
}
179+
},
180+
{
181+
"from": [6, 8.75, 7.75],
182+
"to": [7.75, 9.25, 8.25],
183+
"rotation": {"angle": -45, "axis": "z", "origin": [6.75, 9, 8]},
184+
"faces": {
185+
"north": {"uv": [9.5, 6.5, 10, 6.5], "rotation": 90, "texture": "#0"},
186+
"east": {"uv": [9.5, 6.5, 9.5, 6.5], "rotation": 270, "texture": "#0"},
187+
"south": {"uv": [10, 6.5, 10.5, 6.5], "rotation": 270, "texture": "#0"},
188+
"west": {"uv": [10, 6.5, 10, 6.5], "rotation": 270, "texture": "#0"},
189+
"up": {"uv": [10, 6.5, 9.5, 6.5], "rotation": 270, "texture": "#0"},
190+
"down": {"uv": [10.5, 6.5, 10, 6.5], "rotation": 270, "texture": "#0"}
191+
}
192+
},
193+
{
194+
"from": [8.25, 8.75, 7.75],
195+
"to": [10, 9.25, 8.25],
196+
"rotation": {"angle": 45, "axis": "z", "origin": [9.25, 9, 8]},
197+
"faces": {
198+
"north": {"uv": [9.5, 7, 10, 7], "rotation": 90, "texture": "#0"},
199+
"east": {"uv": [9.5, 7, 9.5, 7], "rotation": 270, "texture": "#0"},
200+
"south": {"uv": [10, 7, 10.5, 7], "rotation": 270, "texture": "#0"},
201+
"west": {"uv": [10, 7, 10, 7], "rotation": 270, "texture": "#0"},
202+
"up": {"uv": [10, 7, 9.5, 7], "rotation": 270, "texture": "#0"},
203+
"down": {"uv": [10.5, 7, 10, 7], "rotation": 270, "texture": "#0"}
204+
}
205+
},
206+
{
207+
"from": [9.3, 9.05, 7.75],
208+
"to": [9.8, 11.3, 8.25],
209+
"rotation": {"angle": 45, "axis": "z", "origin": [9.25, 10, 8]},
210+
"faces": {
211+
"north": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
212+
"east": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
213+
"south": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
214+
"west": {"uv": [10, 6.5, 10, 7.5], "texture": "#0"},
215+
"up": {"uv": [10, 6.5, 10, 6.5], "texture": "#0"},
216+
"down": {"uv": [10, 6.5, 10, 6.5], "texture": "#0"}
217+
}
218+
}
219+
],
220+
"display": {
221+
"thirdperson_righthand": {
222+
"translation": [0, 1.5, 1.5]
223+
},
224+
"thirdperson_lefthand": {
225+
"translation": [0, 1.5, 1.5]
226+
},
227+
"firstperson_lefthand": {
228+
"rotation": [0, -28, 0]
229+
},
230+
"ground": {
231+
"rotation": [80.01, 25.34, -128.08],
232+
"translation": [0, -0.5, 0]
233+
},
234+
"gui": {
235+
"rotation": [0, 0, -46.5],
236+
"translation": [-1.75, -1.75, 0]
237+
},
238+
"head": {
239+
"rotation": [-90, 0, 0],
240+
"translation": [0, 6, 0]
241+
},
242+
"fixed": {
243+
"rotation": [180, -180, 180],
244+
"translation": [0, -1.25, 0]
245+
}
246+
},
247+
"groups": [
248+
{
249+
"name": "hilt",
250+
"origin": [0, 0, 0],
251+
"color": 0,
252+
"children": [
253+
0,
254+
1,
255+
2,
256+
{
257+
"name": "chappe",
258+
"origin": [0, 0, 0],
259+
"color": 0,
260+
"children": [3]
261+
}
262+
]
263+
},
264+
{
265+
"name": "clinger_base",
266+
"origin": [8, 8, 8],
267+
"color": 0,
268+
"children": [4]
269+
},
270+
{
271+
"name": "staff_tip_east",
272+
"origin": [8, 13, 8],
273+
"color": 0,
274+
"children": [5, 6, 7]
275+
},
276+
{
277+
"name": "staff_tip_west",
278+
"origin": [8, 13, 8],
279+
"color": 0,
280+
"children": [8, 9, 10]
281+
},
282+
11,
283+
12,
284+
13,
285+
14,
286+
15
287+
]
6288
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/handheld",
3+
"textures": {
4+
"layer0": "tutorialmod:item/radiation_staff_2d"
5+
}
6+
}
-273 Bytes
Loading
900 Bytes
Loading

src/main/resources/assets/tutorialmod/textures/item/radiation_staff.png.mcmeta renamed to src/main/resources/assets/tutorialmod/textures/item/radiation_staff_2d.png.mcmeta

File renamed without changes.

0 commit comments

Comments
 (0)