
Stack Tags
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.
Screenshots


About this Mod
Stack Tags
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.
What it does
- 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.
How to use
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.
Available Versions
How to Install Stack Tags on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Stack Tags". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+7 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Stack Tags server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is Stack Tags compatible with fabric and forge?
Stack Tags officially supports fabric, forge for Minecraft 1.20.4, 1.20.3, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Stack Tags – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Stack Tags consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Stack Tags with just one click on your server.