Data Driven Stack Sizes
Data Driven Stack Sizes lets a datapack raise the maximum stack size of items through JSON files, with stacks allowed up to 2048.
What it does
The mod overrides the default max stack size of items by using data-driven item tags. It includes a data pack that changes the max-stack-size data component, so stacks can grow past the vanilla limit of 99 up to 2048. Changing an item's stack size is done by adding a value file to the data pack rather than editing code.
The mod runs on the server only, so players join without installing anything. It is published for Fabric, with builds for 1.21 and 1.21.4 and 0.10.7-1.21.4 as the latest file. The code is licensed under Creative Commons Attribution Non Commercial Share Alike 4.0, and the project is not open source.
Key features
Data-driven stack limits
Stack sizes are set through data-driven item tags, so the limit for each item is defined in a data pack file.
Stacks up to 2048
The max-stack-size data component can be raised beyond 99, with a maximum value of 2048 per stack.
Example datapack
An example data pack named Data Driven Stacks Example Datapack shows how to set stack sizes for items.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Stack Size Modifier is a client and server mod for Fabric 1.21.7, released under the MIT License and not open source. FatStack is server-side only for Fabric 1.21.9 – 1.21.10 and is open source under the Mozilla Public License 2.0.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Data Driven Stack Sizes | Fabric | 1.21 – 1.21.4 | Server-side only | 2025-03-15 |
| Stack Size Modifier | Fabric | 1.21.7 | Client and server | 2026-02-03 |
| FatStack | Fabric | 1.21.9 – 1.21.10 | Server-side only | 2025-10-19 |
Questions
Does Data Driven Stack Sizes need to be installed on the client?
In the catalog
Data Driven Stack Sizes is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 17,979 mods support Minecraft 1.21.4.
More from Hydraheadhunter
Similar mods
What the author says
This mod changes the max_stack_size data component's behavior, allowing for stacks larger than 99 (upto 2048). It also automatically changes how a stack's max_stack_size component behaves when it is checked, allowing for data-driven stack-sizes where changing how much an item stacks to is as simple as adding it to…
Official listing
- Modrinth page
- modrinth.com/mod/data-driven-stack-sizes
- Owner
- Hydraheadhunter
- Published
- 2024-07-13
- Updated on Modrinth
- 2025-03-15
- Facts verified
- 2026-10-15
