Unlimited Stacks Mod

Quick rating

Unlimited Stacks Mod

No reviews yet

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

Storage & Organization
Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.3
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~2,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works