Back to mods
MaxStacks project artwork

CurseForge · Minecraft mod

MaxStacks

Customize max item stack sizes up to 9999! Configure vanilla and modded items separately in the config!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MaxStacks release should I use?

Updated 6 months ago
Latest stable file maxstacks-1.0.0.jar
Game version 1.21.11
Loader Forge

maxstacks-1.0.0.jar targets 1.21.11 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is MaxStacks required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does maxstacks-1.0.0.jar need?

maxstacks-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add MaxStacks without breaking your instance.

Built for maxstacks-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use maxstacks-1.0.0.jar. It targets 1.21.11 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside maxstacks-1.0.0.jar. It opens that exact file at the source.

About this project

What does MaxStacks add?

MaxStacks

Take full control of item stack sizes in Minecraft.

Are you tired of inventory management taking up half your playtime? Do chests fill up too fast even with shulker boxes? MaxStacks lets you set the maximum stack size for every item in the game — vanilla, modded, or both — with a single config value.


Features

  • IMPORTANT NOTE — /give command delivers items in stacks of up to 99 (vanilla limitation). double click a stack and they'll merge up instantly. (may be fixed in a future patch)
  • Universal Stack Override — Change the max stack size of ALL items to any value between 1 and 9,999

  • Toggle Vanilla Items — Enable or disable stacking changes for Minecraft's own items

  • Toggle Modded Items — Enable or disable stacking changes for items added by other mods

  • Debug Mode — Optional console logging to see exactly what's being modified

  • Server-Side Config — Config lives on the server; clients don't need to touch anything

  • Zero Dependencies — Works out of the box with just Forge

  • Lightweight — Single mixin, minimal performance impact


How It Works

  1. Install the mod on your server (or singleplayer world)

  2. Launch the game once to generate the config file

  3. Open config/maxstacks-server.toml

  4. Set your desired maxStackSize (default: 999)

  5. Restart the world — done!

All stackable items will now respect your new limit.


Configuration Options

Configuration

After the first run, a config file is created at config/maxstacks-server.toml. Edit it and reload your world to apply changes instantly.

Option Type Default Description
maxStackSize int (1‑9999) 999 Maximum stack size for all affected items
affectVanilla boolean true Apply to vanilla Minecraft items
affectModded boolean true Apply to items from other mods
affectUnstackable boolean false Also make unstackable items (swords, tools, etc.) stackable
debugLog boolean false Print stack override info to the game log

FAQ

Does this work on servers?
Yes! The config is server-side only. Players don't need the mod installed — only the server does.

Will this break my game?
No. You can safely change the config at any time. Items in existing inventories will update on world reload.

Does this work with other mods?
Yes, it works with any mod that uses Minecraft's standard item system. You can toggle affectModded off if you want to exclude modded items.

Can I set different stack sizes for different items?
Not yet, but per-item configuration is planned for a future update!

Is this compatible with Fabric?
Currently Forge only. A Fabric port may come in the future.


Compatibility

  • Minecraft: 1.21.11

  • Forge: 61.1.0 or newer

  • Other Mods: Compatible with everything that uses standard Item.Properties


Installation

  1. Download the JAR file

  2. Place it in your mods folder

  3. Launch Minecraft with Forge

  4. That's it!

Project description from CurseForge.

Pick your setup

MaxStacks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MaxStacks versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.