promotional bannermobile promotional banner

MaxStacks

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

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!

The MaxStacks Team

profile avatar
  • 1
    Projects
  • 249
    Downloads

I am a modder :)