Skip to content

Commit 37f804f

Browse files
committed
backporting of 1.21.6 using custom name method
1 parent f82132d commit 37f804f

9 files changed

+331
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"model":{
3+
"type": "minecraft:select",
4+
"property": "minecraft:component",
5+
"component": "minecraft:custom_name",
6+
"cases": [
7+
{
8+
"when": {
9+
"text": "1.22 Happy Ghast Spawn Egg",
10+
"italic": false,
11+
"color": "white"
12+
},
13+
"model": {
14+
"type": "minecraft:model",
15+
"model": "minecraft:item/happy_ghast_spawn_egg"
16+
}
17+
}
18+
],
19+
"fallback": {
20+
"type": "minecraft:model",
21+
"model": "minecraft:item/ghast_spawn_egg"
22+
}
23+
}
24+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"model":{
3+
"type": "minecraft:select",
4+
"property": "minecraft:component",
5+
"component": "minecraft:custom_name",
6+
"cases": [
7+
{
8+
"when": {
9+
"text": "1.22 Music Disc (Tears)",
10+
"italic": false,
11+
"color": "white"
12+
},
13+
"model": {
14+
"type": "minecraft:model",
15+
"model": "minecraft:block/dried_ghast_hydration_0"
16+
}
17+
}
18+
],
19+
"fallback": {
20+
"type": "minecraft:model",
21+
"model": "minecraft:item/music_disc_precipice"
22+
}
23+
}
24+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"model":{
3+
"type": "minecraft:select",
4+
"property": "minecraft:component",
5+
"component": "minecraft:custom_data",
6+
"cases": [
7+
{
8+
"when": {
9+
"VB|Protocol1_21_6To1_21_5|id": 619,
10+
"VB|Protocol1_21_6To1_21_5|original_hashes": {
11+
"removed": []
12+
},
13+
"VV|custom_data": 1,
14+
"VB|Protocol1_21_6To1_21_5|added_custom_name": 1
15+
},
16+
"model": {
17+
"type": "minecraft:model",
18+
"model": "minecraft:block/dried_ghast_hydration_0"
19+
}
20+
}
21+
],
22+
"fallback": {
23+
"type": "minecraft:special",
24+
"base": "minecraft:item/template_skull",
25+
"model": {
26+
"type": "minecraft:head",
27+
"kind": "skeleton"
28+
}
29+
}
30+
}
31+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"model":{
3+
"type": "minecraft:condition",
4+
"property": "minecraft:component",
5+
"predicate": "minecraft:custom_data",
6+
"value": {
7+
"VB|Protocol1_21_6To1_21_5|id": 619,
8+
"VB|Protocol1_21_6To1_21_5|original_hashes": {
9+
"removed": []
10+
},
11+
"VV|custom_data": 1,
12+
"VB|Protocol1_21_6To1_21_5|added_custom_name": 1},
13+
"on_true": {
14+
"type": "minecraft:model",
15+
"model": "minecraft:block/dried_ghast_hydration_0"
16+
},
17+
"on_false": {
18+
"type": "minecraft:special",
19+
"base": "minecraft:item/template_skull",
20+
"model": {
21+
"type": "minecraft:head",
22+
"kind": "skeleton"
23+
}
24+
}
25+
}
26+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"model":{
3+
"type": "minecraft:select",
4+
"property": "minecraft:component",
5+
"component": "minecraft:custom_name",
6+
"cases": [
7+
{
8+
"when": {
9+
"text": "1.22 Dried Ghast",
10+
"italic": false,
11+
"color": "white"
12+
},
13+
"model": {
14+
"type": "minecraft:model",
15+
"model": "minecraft:block/dried_ghast_hydration_0"
16+
}
17+
}
18+
],
19+
"fallback": {
20+
"type": "minecraft:special",
21+
"base": "minecraft:item/template_skull",
22+
"model": {
23+
"type": "minecraft:head",
24+
"kind": "skeleton"
25+
}
26+
}
27+
}
28+
}
Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
{
2+
"model":{
3+
"type": "minecraft:select",
4+
"property": "minecraft:component",
5+
"component": "minecraft:custom_name",
6+
"cases": [
7+
{
8+
"when": {
9+
"text": "1.22 White Harness",
10+
"italic": false,
11+
"color": "white"
12+
},
13+
"model": {
14+
"type": "minecraft:model",
15+
"model": "minecraft:item/white_harness"
16+
}
17+
},
18+
{
19+
"when": {
20+
"text": "1.22 Green Harness",
21+
"italic": false,
22+
"color": "white"
23+
},
24+
"model": {
25+
"type": "minecraft:model",
26+
"model": "minecraft:item/green_harness"
27+
}
28+
},
29+
{
30+
"when": {
31+
"text": "1.22 Light Blue Harness",
32+
"italic": false,
33+
"color": "white"
34+
},
35+
"model": {
36+
"type": "minecraft:model",
37+
"model": "minecraft:item/light_blue_harness"
38+
}
39+
},
40+
{
41+
"when": {
42+
"text": "1.22 Cyan Harness",
43+
"italic": false,
44+
"color": "white"
45+
},
46+
"model": {
47+
"type": "minecraft:model",
48+
"model": "minecraft:item/cyan_harness"
49+
}
50+
},
51+
{
52+
"when": {
53+
"text": "1.22 Red Harness",
54+
"italic": false,
55+
"color": "white"
56+
},
57+
"model": {
58+
"type": "minecraft:model",
59+
"model": "minecraft:item/red_harness"
60+
}
61+
},
62+
{
63+
"when": {
64+
"text": "1.22 Light Gray Harness",
65+
"italic": false,
66+
"color": "white"
67+
},
68+
"model": {
69+
"type": "minecraft:model",
70+
"model": "minecraft:item/light_gray_harness"
71+
}
72+
},
73+
{
74+
"when": {
75+
"text": "1.22 Purple Harness",
76+
"italic": false,
77+
"color": "white"
78+
},
79+
"model": {
80+
"type": "minecraft:model",
81+
"model": "minecraft:item/purple_harness"
82+
}
83+
},
84+
{
85+
"when": {
86+
"text": "1.22 Orange Harness",
87+
"italic": false,
88+
"color": "white"
89+
},
90+
"model": {
91+
"type": "minecraft:model",
92+
"model": "minecraft:item/orange_harness"
93+
}
94+
},
95+
{
96+
"when": {
97+
"text": "1.22 Blue Harness",
98+
"italic": false,
99+
"color": "white"
100+
},
101+
"model": {
102+
"type": "minecraft:model",
103+
"model": "minecraft:item/blue_harness"
104+
}
105+
},
106+
{
107+
"when": {
108+
"text": "1.22 Gray Harness",
109+
"italic": false,
110+
"color": "white"
111+
},
112+
"model": {
113+
"type": "minecraft:model",
114+
"model": "minecraft:item/gray_harness"
115+
}
116+
},
117+
{
118+
"when": {
119+
"text": "1.22 Brown Harness",
120+
"italic": false,
121+
"color": "white"
122+
},
123+
"model": {
124+
"type": "minecraft:model",
125+
"model": "minecraft:item/brown_harness"
126+
}
127+
},
128+
{
129+
"when": {
130+
"text": "1.22 Magenta Harness",
131+
"italic": false,
132+
"color": "white"
133+
},
134+
"model": {
135+
"type": "minecraft:model",
136+
"model": "minecraft:item/magenta_harness"
137+
}
138+
},
139+
{
140+
"when": {
141+
"text": "1.22 Yellow Harness",
142+
"italic": false,
143+
"color": "white"
144+
},
145+
"model": {
146+
"type": "minecraft:model",
147+
"model": "minecraft:item/yellow_harness"
148+
}
149+
},
150+
{
151+
"when": {
152+
"text": "1.22 Lime Harness",
153+
"italic": false,
154+
"color": "white"
155+
},
156+
"model": {
157+
"type": "minecraft:model",
158+
"model": "minecraft:item/lime_harness"
159+
}
160+
},
161+
{
162+
"when": {
163+
"text": "1.22 Pink Harness",
164+
"italic": false,
165+
"color": "white"
166+
},
167+
"model": {
168+
"type": "minecraft:model",
169+
"model": "minecraft:item/pink_harness"
170+
}
171+
}
172+
],
173+
"fallback": {
174+
"type": "minecraft:condition",
175+
"component": "minecraft:dyed_color",
176+
"on_false": {
177+
"type": "minecraft:model",
178+
"model": "minecraft:item/wolf_armor"
179+
},
180+
"on_true": {
181+
"type": "minecraft:model",
182+
"model": "minecraft:item/wolf_armor_dyed",
183+
"tints": [
184+
{
185+
"type": "minecraft:constant",
186+
"value": -1
187+
},
188+
{
189+
"type": "minecraft:dye",
190+
"default": 0
191+
}
192+
]
193+
},
194+
"property": "minecraft:has_component"
195+
}
196+
}
197+
}
139 Bytes
Loading
136 Bytes
Loading

pack.mcmeta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"pack": {
33
"pack_format": 55,
4-
"supported_formats": [55,70],
4+
"supported_formats": [55,62],
55
"description": "§r§d§kbang§r §5§nGithub.com/bangetto§r §d§ketto"
66
}
77
}

0 commit comments

Comments
 (0)