Stack Tags lets you control item stack sizes using data packs. Place items into one of several tags to set their exact max stack size.
- Adds item tags that set exact max stack sizes:
stack_tags:stackable_to_1,stack_tags:stackable_to_2,stack_tags:stackable_to_4,stack_tags:stackable_to_8,stack_tags:stackable_to_16,stack_tags:stackable_to_32,stack_tags:stackable_to_64. - If an item is present in multiple tags, the largest value wins.
- Values are clamped to 64.
Add your items to the desired tag(s) via a data pack:
data/stack_tags/tags/items/stackable_to_16.json
{
"replace": false,
"values": [
"minecraft:lava_bucket",
"minecraft:water_bucket"
]
}
Or replace the default behavior of the mod to set up your custom max stack sizes:
data/stack_tags/tags/items/stackable_to_16.json
{
"replace": true,
"values": [
"minecraft:golden_apple",
"minecraft:enchanted_golden_apple"
]
}
You can create similar files for stackable_to_1, 2, 4, 8, 32, and 64.