Stack Config
by linked
Stack Config lets server owners set custom maximum stack sizes for individual items, tags and mods through a config file.
What it does
Custom maximum stack sizes can be set for single items, or for a whole tag, so one rule covers many entries at once. Each rule applies per item and per tag, and an entry such as an ender pearl can be pinned to one value while boats or the catch-everything tag receive another. Changes take effect the next time the game asks an item for its maximum stack size, so no restart is needed after editing the file.
The mod is open source under the GNU General Public License v3.0 or later and runs on client and server, so both sides need it. Files are published for Fabric, Forge and NeoForge across 24 release versions, 1.18.2 – 26.2, and Cloth Config API is an optional dependency that adds a settings screen.
Key features
Custom max stack sizes
Any item can be given its own maximum stack size, written in the config file.
Per-item and per-tag rules
A rule can target one item or a whole tag, with single entries overriding broader tag rules.
Live config reload
Edits to the config file apply the next time a stack size is read, without restarting the game.
Gallery
Compatibility
Latest build for each game version and loader.
26.x1 of 1 version with builds
1.21.x12 of 12 versions with builds
1.20.x5 of 5 versions with builds
1.19.x5 of 5 versions with builds
1.18.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
How it compares
Stack Manager is server-side only and covers Fabric and NeoForge under the MIT License, for 1.18.2 – 1.21.11. Mega Stacks is open source under the MIT License and needs the server while clients may skip it, for 1.21.4 – 26.2. Items Stack is open source under the GNU Lesser General Public License v3.0 only and is client and server, for 1.21 – 26.2.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Stack Config | Fabric, Forge and NeoForge | 1.18.2 – 26.2 | Client and server | 2026-10-12 |
| Stack Manager (Fabric/NeoForge) | Fabric and NeoForge | 1.18.2 – 1.21.11 | Server-side only | 2026-01-01 |
| Mega Stacks | Fabric, Forge, NeoForge and Quilt | 1.21.4 – 26.2 | Server required, client optional | 2026-06-17 |
| Items Stack | Fabric | 1.21 – 26.2 | Client and server | 2026-10-01 |
Questions
Does Stack Config need Cloth Config API?
In the catalog
Stack Config is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 13,894 mods support Minecraft 26.2.
More from linked
Similar mods
What the author says
Set custom max stack sizes for any item. Edit the config/stack_config.json and set stack sizes however you like, by item ID or by tag. The mod hooks into ItemInstance.getMaxStackSize to override the vanilla limit at the source.
Official listing
- Modrinth page
- modrinth.com/mod/stack-config
- Owner
- linked
- Published
- 2025-11-04
- Updated on Modrinth
- 2026-10-12
- Facts verified
- 2026-10-15
