Skip to content

Stack Config

Set custom max stack sizes for any item.

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
1.2K
Followers on Modrinth
2
versions
11
Updated
October 13, 2026Oct 13
Published
in 2025
Stacks sizes that have been extended to 16 by default. · swipe

At a glance

Runs on Fabric, NeoForge and Forge
For Minecraft 1.21–1.21.11, 26.2 …
Needed in the game and on the server
Latest version — 1.1 from October 13, 2026
License GPL-3.0-or-later — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.18.2–1.20.4, 1.21–1.21.11, 26.2

Stack Config

Set custom max stack sizes for any item.

How it works

Edit the config/stack_config.json and set stack sizes however you like, by item ID or by tag. The mod hooks into ItemInstance.getMaxStackSize to override the vanilla limit at the source.

Features

  • Per-item and per-tag: use minecraft:ender_pearl to target a single item or #minecraft:boats to catch everything in a tag.
  • Sensible defaults: potions, buckets, minecarts, horse armour, banners, signs, stews, and everything else vanilla limits to 1 or 16 are preconfigured to stack to 16 or 64. First run generates the file with these as a starting point.
  • Bucket behaviour: placing a stacked solid bucket (powder snow, azalea, etc.) leaves the empty bucket in your hand and adds extras to inventory, so you don't lose items to the usual "bucket returns to hand" logic.
  • Config reload: edit the file any time; changes apply on the next getMaxStackSize call without a restart.

Config format

{
  "minecraft:ender_pearl": 64,
  "minecraft:saddle": 64,
  "#minecraft:beds": 64
}

Prefix with # to match a tag.

FAQ

How to install Stack Config?

Install Fabric for your Minecraft version, download Stack Config for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Stack Config support?

Stack Config has builds for Minecraft 1.18.2–1.20.4, 1.21–1.21.11, 26.2.

Is Stack Config needed on the server?

Needed in the game and on the server

License and source
GNU General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More