跳到正文

MaxStacks

作者:Cobble

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!

常见问题

MaxStacks 支持哪些 Minecraft 版本?

MaxStacks 支持 Minecraft Java 版 1.21.11,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

MaxStacks 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分