Data Driven Stack Sizes

Data Driven Stack Sizes

Override default `max_stack_size`s using data-driven item tags (Data Not Included).Increase the maximum value of the max-stack-size data component for 99 to 2048. Dev on all my projects will be paused for the duration of the BDS boycott against Microsoft.

by
3.4K Downloads
fabricstorageutility
Rent Server with this Mod

Screenshots

Have Too Many Grass Blocks?
Forget About It.
Simple .Jsons

About this Mod

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 that value's .json file.

For a example of what the mod can do, see Data Driven Stacks Example Datapack

Available Versions

Data Driven Stack Sizes 0.10.7-1.21.4beta
MC 1.21.4fabric
March 15, 2025
Data Driven Stack Sizes 0.10.6-1.21.4beta
MC 1.21.4fabric
March 14, 2025
Data Driven Stack Sizes 0.10.5 FOR 1.21.4alpha
MC 1.21.4fabric
March 10, 2025
Data-Driven-Stack-Sizes 0.9.5beta
MC 1.21fabric
July 28, 2024
Data-Driven-Stack-Sizes 0.9.4-1.21-FL16-compatalpha
MC 1.21fabric
July 28, 2024

How to Install Data Driven Stack Sizes on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.4).

3

Install Mod

Open the mod browser in the dashboard and search for "Data Driven Stack Sizes". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.4, 1.21

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Data Driven Stack Sizes 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.21.4). You can switch loaders with one click in the panel.

Is Data Driven Stack Sizes compatible with fabric?

Data Driven Stack Sizes officially supports fabric for Minecraft 1.21.4, 1.21. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Data Driven Stack Sizes – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Data Driven Stack Sizes 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.

Rent Modded Server

Install Data Driven Stack Sizes with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Attribution Non Commercial Share Alike 4.0 International
Server-side
Required

Supported Versions

1.21.41.21