Skip to content

Commit 6319d1e

Browse files
committed
Update to 1.21.11 + backwards compat
1 parent 07d58c5 commit 6319d1e

5 files changed

Lines changed: 40 additions & 3 deletions

File tree

stackable_shulker_boxes/data/stackable_shulker_boxes/item_modifier/update_shulker_box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
}
1212
},
13-
"modifier": {
13+
"on_pass": {
1414
"function": "minecraft:set_components",
1515
"components": {
1616
"minecraft:max_stack_size": 64

stackable_shulker_boxes/overlay-1.21-1.21.1/data/minecraft/recipe/shulker_box.json renamed to stackable_shulker_boxes/overlay-1_21_1/data/minecraft/recipe/shulker_box.json

File renamed without changes.

stackable_shulker_boxes/overlay-1.21-1.21.1/data/stackable_shulker_boxes/tags/item/shulker_boxes.json renamed to stackable_shulker_boxes/overlay-1_21_1/data/stackable_shulker_boxes/tags/item/shulker_boxes.json

File renamed without changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"function": "minecraft:filtered",
3+
"item_filter": {
4+
"items": "#stackable_shulker_boxes:shulker_boxes",
5+
"predicates": {
6+
"minecraft:container": {
7+
"items": {
8+
"size": 0
9+
}
10+
}
11+
}
12+
},
13+
"modifier": {
14+
"function": "minecraft:set_components",
15+
"components": {
16+
"minecraft:max_stack_size": 64
17+
}
18+
}
19+
}

stackable_shulker_boxes/pack.mcmeta

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"pack_format": 48,
55
"supported_formats": {
66
"min_inclusive": 48,
7-
"max_inclusive": 71
7+
"max_inclusive": 81
88
},
9+
"min_format": 48,
10+
"max_format": 94,
911
"description": [
1012
"Stackable Shulker Boxes\n",
1113
{
@@ -21,7 +23,23 @@
2123
"min_inclusive": 48,
2224
"max_inclusive": 48
2325
},
24-
"directory": "overlay-1.21-1.21.1"
26+
"directory": "overlay-1_21_1"
27+
},
28+
{
29+
"formats": {
30+
"min_inclusive": 48,
31+
"max_inclusive": 81
32+
},
33+
"directory": "overlay-1_21_10"
34+
},
35+
{
36+
"formats": {
37+
"min_inclusive": 82,
38+
"max_inclusive": 88
39+
},
40+
"min_format": 82,
41+
"max_format": 88,
42+
"directory": "overlay-1_21_10"
2543
}
2644
]
2745
}

0 commit comments

Comments
 (0)