promotional bannermobile promotional banner

Bigger Stacks 2

Configurable max stack sizes: up to 1000000 per item. 可配置的最大堆叠数量:每个物品最高可达 1000000

Bigger Stacks 2 

Raise the maximum stack size of any item — up to 1,000,000 per stack, fully configurable, with three stacking modes.

Ever wanted to carry 2,048 dirt in a single slot, or 256 torches in your pocket? Bigger Stacks lets you change the max stack size of every stackable item in the game, from your inventory to every chest, hopper, bundle and shulker box — without touching your save data.

Features

  • Huge configurable limit — set a global max stack size from 1 up to 1,000,000,000 (default 2,048; values above ~1,000,000 may overflow some vanilla math).
  • Three stacking modes:
    • 0 – Vanilla: the mod does nothing (perfect for a quick "off" switch).
    • 1 – Balanced (default): your personal inventory stays at the vanilla cap (99 ), while chests, hoppers, bundles, shulker boxes and other containers use the configured limit.
    • 2 – Full: everything, including your own inventory, uses the configured limit.
  • Per-item overrides & blacklist — e.g. "minecraft:stick=16" (even below vanilla, =1 makes an item unstackable), or keep specific items vanilla via the blacklist.
  • Optional toggles — also enlarge shulker boxes, bundles and/or durability items (tools & armor), off by default.
  • Hot reload — edit the config file (or use the in-game command) and it applies immediately; no restart needed.
  • Save-safe — nothing is written into your items' data. Existing stacks keep working, large stacks survive world reloads, and network sync supports any count.
  • Server-first config — NeoForge & Forge auto-sync the server config to clients on login. Dedicated-server admins can change limits live with /biggerstacks.

Commands (OP / permission level 2)

/biggerstacks mode <0|1|2> — switch stacking mode /biggerstacks max <1..1000000000> — change the global limit /biggerstacks get — show current settings

The commands save the config file for you and apply it instantly.

Configuration

The config file is config/biggerstacks-common.toml (NeoForge/Forge) or config/biggerstacks.toml (Fabric). Example:

mode = 1 # 0=vanilla, 1=balanced, 2=full maxStackSize = 2048 # global limit stackShulkerBoxes = false # also raise shulker boxes? stackBundles = false # also raise bundles? stackDurabilityItems = false # also raise tools/armor? blacklist = [] # e.g. ["minecraft:stick"] itemOverrides = [] # e.g. ["minecraft:stick=16"]

Supported versions & loaders

 
Minecraft NeoForge Fabric Forge Java
1.20.1 17
1.21.1 21
1.21.3 / 1.21.4 / 1.21.5 21
1.21.8 / 1.21.10 21
1.21.11 21
26.1 / 26.2 25
 

Files are tagged per loader and version — pick the one matching your setup.

Installation

  1. Install the matching loader (NeoForge / Fabric / Forge) for your Minecraft version.
  2. Drop the jar into the mods folder. That's it.
  3. Multiplayer: install it on the server and on every client. The server's config wins.
  4. Fabric note: Fabric has no automatic config sync — keep the same mode / maxStackSize in your client config as on the server (NeoForge & Forge sync automatically).

⚠ Read before uninstalling

  • Split your oversized stacks first. If you remove the mod while stacks larger than 99 still exist in your worlds/inventories, vanilla cannot read them anymore and those stacks are lost.
  • Do not install together with other stack-size mods (e.g. other "Bigger Stacks"-style mods, Stack Up!, …). They hook the same code and crash or corrupt stacking behaviour.
  • Shulker boxes only merge when their contents are identical — that is vanilla behaviour, unchanged.

Technical notes

  • Implemented with lightweight mixins on ItemStack#getMaxStackSize/item-instance handling and the container/player-inventory caps. Item data is never modified.
  • The vanilla save codec's 99-count ceiling is lifted at runtime; 
  • Free, open source (MIT). No dependencies.
  • Bigger Stacks 2

    可配置地把任意物品的堆叠上限提高到 1,000,000,三种堆叠模式,配置即改即生效,存档安全。

    想让一格口袋装下 2048 个泥土、256 根火把?Bigger Stacks 允许你修改游戏内所有可堆叠物品的上限——自己的物品栏、箱子、漏斗、收纳袋、潜影盒全都覆盖,且不碰任何存档数据

    功能

    • 超大的可配置上限:全局上限 1 ~ 1,000,000,000 可调(默认 2048;超过约 100 万可能溢出个别原版运算)。
    • 三种模式
      • 0 – 原版:模组什么都不改(临时"关闭"开关)。
      • 1 – 平衡(默认):玩家自身物品栏保持原版上限(99),箱子、漏斗、收纳袋、潜影盒等容器使用配置的上限。
      • 2 – 全堆叠:所有地方(包括自己物品栏)都用配置的上限。
    • 单项覆盖与黑名单:如 "minecraft:stick=16"(可低于原版,=1 表示不可堆叠);或用黑名单让某些物品保持原版上限。
    • 可选开关:潜影盒、收纳袋、耐久物品(工具/盔甲)是否也提升,默认关闭。
    • 热重载:改配置文件或使用游戏内命令,立即生效,无需重启。
    • 存档安全:不改写物品数据组件;已有大堆正常保存,世界重载不丢,网络同步无数量上限。
    • 服务端优先:NeoForge / Forge 会在客户端登录时自动同步服务端配置;服主可用 /biggerstacks 命令在线调整。

    命令(OP / 权限等级 2)

    /biggerstacks mode <0|1|2> — 切换堆叠模式 /biggerstacks max <1..1000000000> — 修改全局上限 /biggerstacks get — 查看当前配置

    命令会自动保存配置文件并立即生效。

    配置文件

    NeoForge/Forge:config/biggerstacks-common.toml;Fabric:config/biggerstacks.toml。示例:

    mode = 1 # 0=原版 1=平衡 2=全堆叠 maxStackSize = 2048 # 全局上限 stackShulkerBoxes = false # 是否提升潜影盒? stackBundles = false # 是否提升收纳袋? stackDurabilityItems = false # 是否提升工具/盔甲? blacklist = [] # 例如 ["minecraft:stick"] itemOverrides = [] # 例如 ["minecraft:stick=16"]

    支持的版本与加载器

     
    Minecraft NeoForge Fabric Forge Java
    1.20.1 17
    1.21.1 21
    1.21.3 / 1.21.4 / 1.21.5 21
    1.21.8 / 1.21.10 21
    1.21.11 21
    26.1 / 26.2 25
     

    每个文件都已按加载器与版本标注,选与你环境匹配的那个即可。

    安装

    1. 安装对应 Minecraft 版本的加载器(NeoForge / Fabric / Forge)。
    2. 把 jar 放进 mods 文件夹,完成。
    3. 联机:服务端和每个客户端都要装,以服务端配置为准。
    4. Fabric 注意:Fabric 没有自动配置同步——客户端需手动保持与服务端相同的 mode/maxStackSize(NeoForge/Forge 会自动同步)。

    ⚠ 卸载前必读

    • 先把超过上限的堆拆小:若在仍有大于 99的堆时卸载模组,原版将无法读取这些物品,堆会丢失。
    • 不要与其他"堆叠上限"类模组同装(其他 Bigger Stacks 系、Stack Up! 等):它们挂钩同一段代码,会冲突崩溃或行为异常。
    • 潜影盒只有内容物完全一致才会合并——这是原版行为,未做改动。

    技术说明

    • 以轻量 mixin 作用于物品上限读取与容器/玩家物品栏上限;从不修改物品数据。
    • 在运行时解除了存档 codec 的 99 上限。
    • 开源(MIT),无前置依赖。

The Bigger Stacks 2 Team

profile avatar
  • 2
    Projects
  • 2.5K
    Downloads

More from Qiuxique

  • Bridge Egg project image

    Bridge Egg

    Throw it like a normal egg — a 3-block-wide bridge builds itself beneath you.像扔鸡蛋一样掷出,3 格宽的桥自动在你脚下铺开。

    • 148
    • September 6, 2026
  • Bridge Egg project image

    Bridge Egg

    Throw it like a normal egg — a 3-block-wide bridge builds itself beneath you.像扔鸡蛋一样掷出,3 格宽的桥自动在你脚下铺开。

    • 148
    • September 6, 2026