Skip to content

Commit d2b1b0c

Browse files
committed
bed & banner colors
1 parent 8e2eab1 commit d2b1b0c

96 files changed

Lines changed: 569 additions & 106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"model": {
3+
"type": "minecraft:composite",
4+
"models": [
5+
{
6+
"type": "minecraft:model",
7+
"model": "test:item/black_bed_head",
8+
"transformation": {
9+
"left_rotation": [
10+
0.0,
11+
-0.70710677,
12+
0.70710677,
13+
0.0
14+
],
15+
"right_rotation": [
16+
-0.0,
17+
-0.0,
18+
-0.0,
19+
1.0
20+
],
21+
"scale": [
22+
0.99999994,
23+
0.9999999,
24+
0.9999999
25+
],
26+
"translation": [
27+
0.99999994,
28+
0.5625,
29+
0.99999994
30+
]
31+
}
32+
},
33+
{
34+
"type": "minecraft:model",
35+
"model": "test:item/black_bed_foot",
36+
"transformation": {
37+
"left_rotation": [
38+
0.0,
39+
-0.70710677,
40+
0.70710677,
41+
0.0
42+
],
43+
"right_rotation": [
44+
-0.0,
45+
-0.0,
46+
-0.0,
47+
1.0
48+
],
49+
"scale": [
50+
0.99999994,
51+
0.9999999,
52+
0.9999999
53+
],
54+
"translation": [
55+
0.99999994,
56+
0.5625,
57+
-5.9604645E-8
58+
]
59+
}
60+
}
61+
]
62+
}
63+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"format_version": "1.21.11",
3+
"credit": "Made with Blockbench",
4+
"parent": "minecraft:item/black_bed",
5+
"textures": {
6+
"0": "test:item/black"
7+
},
8+
"elements": [
9+
{
10+
"from": [0, 10, 0],
11+
"to": [16, 16, 16],
12+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 11, 5]},
13+
"faces": {
14+
"north": {"uv": [5.5, 5.5, 9.5, 7], "rotation": 180, "texture": "#0"},
15+
"east": {"uv": [0, 7, 1.5, 11], "rotation": 270, "texture": "#0"},
16+
"west": {"uv": [5.5, 7, 7, 11], "rotation": 90, "texture": "#0"},
17+
"up": {"uv": [1.5, 7, 5.5, 11], "rotation": 180, "texture": "#0"},
18+
"down": {"uv": [11, 11, 7, 7], "rotation": 180, "texture": "#0"}
19+
}
20+
},
21+
{
22+
"from": [0, 7, 0],
23+
"to": [3, 10, 3],
24+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 11, 5]},
25+
"faces": {
26+
"north": {"uv": [12.5, 3.75, 13.25, 4.5], "texture": "#0"},
27+
"east": {"uv": [14.75, 3.75, 15.5, 4.5], "texture": "#0"},
28+
"south": {"uv": [14, 3.75, 14.75, 4.5], "texture": "#0"},
29+
"west": {"uv": [13.25, 3.75, 14, 4.5], "texture": "#0"},
30+
"up": {"uv": [13.25, 3, 14, 3.75], "rotation": 90, "texture": "#0"},
31+
"down": {"uv": [14.75, 3, 14, 3.75], "rotation": 90, "texture": "#0"}
32+
}
33+
},
34+
{
35+
"from": [13, 7, 0],
36+
"to": [16, 10, 3],
37+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 11, 5]},
38+
"faces": {
39+
"north": {"uv": [13.25, 0.75, 14, 1.5], "texture": "#0"},
40+
"east": {"uv": [12.5, 0.75, 13.25, 1.5], "texture": "#0"},
41+
"south": {"uv": [14.75, 0.75, 15.5, 1.5], "texture": "#0"},
42+
"west": {"uv": [14, 0.75, 14.75, 1.5], "texture": "#0"},
43+
"up": {"uv": [13.25, 0, 14, 0.75], "texture": "#0"},
44+
"down": {"uv": [14.75, 0, 14, 0.75], "texture": "#0"}
45+
}
46+
}
47+
],
48+
"display": {
49+
"thirdperson_righthand": {
50+
"rotation": [30, 160, 0],
51+
"translation": [0, 3, -2],
52+
"scale": [0.23, 0.23, 0.23]
53+
},
54+
"firstperson_righthand": {
55+
"rotation": [30, 160, 0],
56+
"translation": [0, 3, 0],
57+
"scale": [0.375, 0.375, 0.375]
58+
},
59+
"ground": {
60+
"translation": [0, 1, 2],
61+
"scale": [0.25, 0.25, 0.25]
62+
},
63+
"gui": {
64+
"rotation": [30, 160, 0],
65+
"translation": [2, 3, 0],
66+
"scale": [0.5325, 0.5325, 0.5325]
67+
},
68+
"head": {
69+
"rotation": [0, -180, 0],
70+
"translation": [0, 10, -8]
71+
},
72+
"fixed": {
73+
"rotation": [-90, 0, 0],
74+
"translation": [0, 4, -2],
75+
"scale": [0.5, 0.5, 0.5]
76+
},
77+
"on_shelf": {
78+
"rotation": [90, -180, 0],
79+
"translation": [0, 14.5, 2.5],
80+
"scale": [0.9375, 0.9375, 0.9375]
81+
}
82+
}
83+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"format_version": "1.21.11",
3+
"credit": "Made with Blockbench",
4+
"parent": "minecraft:item/black_bed",
5+
"textures": {
6+
"0": "test:item/black"
7+
},
8+
"elements": [
9+
{
10+
"from": [0, 1, 7],
11+
"to": [3, 4, 10],
12+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 4.75, 5.25]},
13+
"faces": {
14+
"north": {"uv": [14.75, 5.25, 15.5, 6], "texture": "#0"},
15+
"east": {"uv": [14, 5.25, 14.75, 6], "texture": "#0"},
16+
"south": {"uv": [13.25, 5.25, 14, 6], "texture": "#0"},
17+
"west": {"uv": [12.5, 5.25, 13.25, 6], "texture": "#0"},
18+
"up": {"uv": [13.25, 4.5, 14, 5.25], "rotation": 180, "texture": "#0"},
19+
"down": {"uv": [14.75, 4.5, 14, 5.25], "rotation": 180, "texture": "#0"}
20+
}
21+
},
22+
{
23+
"from": [0, 4, -6],
24+
"to": [16, 10, 10],
25+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 4.75, 5.25]},
26+
"faces": {
27+
"east": {"uv": [0, 1.5, 1.5, 5.5], "rotation": 270, "texture": "#0"},
28+
"south": {"uv": [1.5, 0, 5.5, 1.5], "rotation": 180, "texture": "#0"},
29+
"west": {"uv": [5.5, 1.5, 7, 5.5], "rotation": 90, "texture": "#0"},
30+
"up": {"uv": [1.5, 1.5, 5.5, 5.5], "rotation": 180, "texture": "#0"},
31+
"down": {"uv": [11, 5.5, 7, 1.5], "rotation": 180, "texture": "#0"}
32+
}
33+
},
34+
{
35+
"from": [13, 1, 7],
36+
"to": [16, 4, 10],
37+
"rotation": {"x": -90, "y": 0, "z": 180, "origin": [8, 4.75, 5.25]},
38+
"faces": {
39+
"north": {"uv": [14, 2.25, 14.75, 3], "texture": "#0"},
40+
"east": {"uv": [13.25, 2.25, 14, 3], "texture": "#0"},
41+
"south": {"uv": [12.5, 2.25, 13.25, 3], "texture": "#0"},
42+
"west": {"uv": [14.75, 2.25, 15.5, 3], "texture": "#0"},
43+
"up": {"uv": [13.25, 1.5, 14, 2.25], "rotation": 270, "texture": "#0"},
44+
"down": {"uv": [14, 1.5, 14.75, 2.25], "rotation": 270, "texture": "#0"}
45+
}
46+
}
47+
],
48+
"display": {
49+
"thirdperson_righthand": {
50+
"rotation": [30, 160, 0],
51+
"translation": [0, 3, -2],
52+
"scale": [0.23, 0.23, 0.23]
53+
},
54+
"firstperson_righthand": {
55+
"rotation": [30, 160, 0],
56+
"translation": [0, 3, 0],
57+
"scale": [0.375, 0.375, 0.375]
58+
},
59+
"ground": {
60+
"translation": [0, 1, 2],
61+
"scale": [0.25, 0.25, 0.25]
62+
},
63+
"gui": {
64+
"rotation": [30, 160, 0],
65+
"translation": [2, 3, 0],
66+
"scale": [0.5325, 0.5325, 0.5325]
67+
},
68+
"head": {
69+
"rotation": [0, -180, 0],
70+
"translation": [0, 10, -8]
71+
},
72+
"fixed": {
73+
"rotation": [-90, 0, 0],
74+
"translation": [0, 4, -2],
75+
"scale": [0.5, 0.5, 0.5]
76+
},
77+
"on_shelf": {
78+
"rotation": [90, -180, 0],
79+
"translation": [0, 14.5, 2.5],
80+
"scale": [0.9375, 0.9375, 0.9375]
81+
}
82+
}
83+
}
778 Bytes
Loading

examples/test_item_model/my_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def beet_default(ctx: Context):
1616
render = Render(ctx)
1717

1818
item = Item(id="minecraft:player_head", components={"minecraft:profile": "AirDox_"})
19-
# render.add_item_task(item, path_ctx="test:head", render_size=512)
19+
render.add_item_task(item, path_ctx="test:head", render_size=512)
2020

2121
render.add_item_task(Item(id="minecraft:chest"), path_ctx="test:chest", render_size=512)
2222
render.add_item_task(

0 commit comments

Comments
 (0)