Skip to content

Commit 3ecef11

Browse files
committed
Adding 1.21.4 items
can't use custom-name
1 parent 78efa5e commit 3ecef11

16 files changed

Lines changed: 68 additions & 97 deletions

assets/minecraft/items/short_grass.json

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -27,48 +27,8 @@
2727
}
2828
],
2929
"fallback": {
30-
"type": "minecraft:select",
31-
"property": "minecraft:component",
32-
"component": "minecraft:custom_name",
33-
"cases": [
34-
{
35-
"when": {
36-
"text": "1.21.5 Bush",
37-
"italic": false,
38-
"color": "white"
39-
},
40-
"model": {
41-
"type": "minecraft:model",
42-
"model": "vb_plus:item/bush"
43-
}
44-
},
45-
{
46-
"when": {
47-
"text": "1.21.5 Firefly Bush",
48-
"italic": false,
49-
"color": "white"
50-
},
51-
"model": {
52-
"type": "minecraft:model",
53-
"model": "vb_plus:item/firefly_bush"
54-
}
55-
},
56-
{
57-
"when": {
58-
"text": "1.21.5 Short Dry Grass",
59-
"italic": false,
60-
"color": "white"
61-
},
62-
"model": {
63-
"type": "minecraft:model",
64-
"model": "vb_plus:item/short_dry_grass"
65-
}
66-
}
67-
],
68-
"fallback": {
69-
"type": "minecraft:model",
70-
"model": "minecraft:item/short_grass"
71-
}
30+
"type": "minecraft:model",
31+
"model": "minecraft:item/short_grass"
7232
}
7333
}
7434
}

assets/minecraft/items/structure_block.json

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,49 @@
77
{
88
"when": "minecraft:test_block",
99
"model": {
10-
"type": "minecraft:model",
11-
"model": "vb_plus:item/test_block"
10+
"type": "minecraft:select",
11+
"property": "minecraft:block_state",
12+
"block_state_property": "mode",
13+
"cases": [
14+
{
15+
"when": "log",
16+
"model": {
17+
"type": "minecraft:model",
18+
"model": "vb_plus:block/test_block_log"
19+
}
20+
},
21+
{
22+
"when": "fail",
23+
"model": {
24+
"type": "minecraft:model",
25+
"model": "vb_plus:block/test_block_fail"
26+
}
27+
},
28+
{
29+
"when": "accept",
30+
"model": {
31+
"type": "minecraft:model",
32+
"model": "vb_plus:block/test_block_accept"
33+
}
34+
}
35+
],
36+
"fallback": {
37+
"type": "minecraft:model",
38+
"model": "vb_plus:block/test_block_start"
39+
}
1240
}
1341
},
1442
{
1543
"when": "minecraft:test_instance_block",
1644
"model": {
1745
"type": "minecraft:model",
18-
"model": "vb_plus:item/test_instance_block"
46+
"model": "vb_plus:block/test_instance_block"
1947
}
2048
}
2149
],
2250
"fallback": {
23-
"type": "minecraft:select",
24-
"property": "minecraft:component",
25-
"component": "minecraft:custom_name",
26-
"cases": [
27-
{
28-
"when": {
29-
"text": "1.21.5 Test Block",
30-
"italic": false,
31-
"color": "white"
32-
},
33-
"model": {
34-
"type": "minecraft:model",
35-
"model": "vb_plus:item/test_block"
36-
}
37-
},
38-
{
39-
"when": {
40-
"text": "1.21.5 Test Instance Block",
41-
"italic": false,
42-
"color": "white"
43-
},
44-
"model": {
45-
"type": "minecraft:model",
46-
"model": "vb_plus:item/test_instance_block"
47-
}
48-
}
49-
],
50-
"fallback": {
51-
"type": "minecraft:model",
52-
"model": "minecraft:item/structure_block"
53-
}
51+
"type": "minecraft:model",
52+
"model": "minecraft:block/structure_block"
5453
}
5554
}
56-
}
55+
}

assets/minecraft/items/tall_grass.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,8 @@
1313
}
1414
],
1515
"fallback": {
16-
"type": "minecraft:select",
17-
"property": "minecraft:component",
18-
"component": "minecraft:custom_name",
19-
"cases": [
20-
{
21-
"when": {
22-
"text": "1.21.5 Tall Dry Grass",
23-
"italic": false,
24-
"color": "white"
25-
},
26-
"model": {
27-
"type": "minecraft:model",
28-
"model": "vb_plus:item/tall_dry_grass"
29-
}
30-
}
31-
],
32-
"fallback": {
33-
"type": "minecraft:model",
34-
"model": "minecraft:item/tall_grass"
35-
}
16+
"type": "minecraft:model",
17+
"model": "minecraft:item/tall_grass"
3618
}
3719
}
3820
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:block/cube_all",
3+
"textures": {
4+
"all": "vb_plus:block/test_block_accept"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:block/cube_all",
3+
"textures": {
4+
"all": "vb_plus:block/test_block_fail"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:block/cube_all",
3+
"textures": {
4+
"all": "vb_plus:block/test_block_log"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:block/cube_all",
3+
"textures": {
4+
"all": "vb_plus:block/test_block_start"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:block/cube_all",
3+
"textures": {
4+
"all": "vb_plus:block/test_instance_block"
5+
}
6+
}
198 Bytes
Loading
251 Bytes
Loading

0 commit comments

Comments
 (0)