Unlimited Stacks Mod

Unlimited Stacks Mod

Raises the item stack limit from 99 to 1,073,741,823. Stacks persist through relog. No config required.

by
894 Downloads
fabricmanagementstorageutility
Rent Server with this Mod

About this Mod

Unlimited Stacks

Vanilla caps item stacks at 99. This mod raises that to 1,073,741,823.

No config. No commands. No GUI. Install it and forget about it.


The Problem With Vanilla

Minecraft enforces the stack limit in three separate places. Most mods that claim to remove the cap only fix one or two of them, which means stacks above 99 either:

  • Display in-game but silently delete themselves on world save/reload
  • Show the right count but can't be placed into containers
  • Work fine until you relog, then vanish

This mod fixes all three.


What It Actually Changes

1. Item stack limit
Overrides getMaxStackSize() on all non-damageable items at the item level. This is what controls how high a stack can grow in your inventory.

2. Container slot limit
Overrides getMaxStackSize() at the container interface level. Without this, slots silently clamp stacks back to the old limit when you move items between inventories.

3. Codec range patch
This is the fix most mods miss. Vanilla bakes a intRange(1, 99) validation codec directly into ItemStack.MAP_CODEC at class-load time. Any stack count above 99 fails this validation and is silently discarded when the world saves. This mod intercepts that codec call and expands the accepted range to match the new limit.

Without the codec patch, stacks above 99 disappear when the world saves.


Damageable Items

Tools, weapons, and armour are intentionally excluded. They can't be stacked regardless, and setting a stack size on them triggers Minecraft's internal "item cannot be both damageable and stackable" error. Everything else gets the full limit: blocks, food, materials, misc items.


Stack Limit

The limit is set to Integer.MAX_VALUE / 2 = 1,073,741,823.

This value is used consistently across all three patches so there are no mismatches between what the item allows, what the container allows, and what the save codec accepts.


Use Cases

  • Survival or SMP servers running drop multiplier mods
  • Creative or admin worlds where large item counts are needed
  • Any setup where vanilla's 99-item cap is a bottleneck

Compatibility

Minecraft 26.1.2
Loader Fabric 0.19.2+
API Fabric API required
Side Required on both client and server
Java 25+

Both client and server need the mod installed. The codec patch runs at class-load time on both sides. A server-only install will cause the client to show wrong stack counts.

Available Versions

Unlimited Stacks Mod 1.0.2release
MC 26.1.2fabric
June 12, 2026
Unlimited Stacks Mod 1.0.0release
MC 26.1.2fabric
May 19, 2026

How to Install Unlimited Stacks Mod 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 (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Unlimited Stacks Mod". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Unlimited Stacks Mod 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 (26.1.2). You can switch loaders with one click in the panel.

Is Unlimited Stacks Mod compatible with fabric?

Unlimited Stacks Mod officially supports fabric for Minecraft 26.1.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Unlimited Stacks Mod – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Unlimited Stacks Mod 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 Unlimited Stacks Mod 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
MIT License
Server-side
Required

Supported Versions

26.1.2