Back to mods
Stack Config project artwork

Modrinth · Minecraft mod

Stack Config

Set custom max stack sizes for any item.

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

Quick answer

Which Stack Config release matches 1.21.1 Fabric?

Updated last month
Best match for your filters 1.1
Game version 1.21.1, 1.21.10, 1.21.11
Loader Fabric

Stack Config 1.1 targets 1.21.1, 1.21.10, 1.21.11 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Stack Config required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

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

The source marks this as usable on both the client and server.

What else does Stack Config 1.1 need?

1.1 on 1.21.1 Fabric. Every mod below is checked against that same setup.

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.

Cloth Config API Optional for Stack Config 1.1
optional
Matching file found Matched file: 15.0.140+fabric

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Stack Config without breaking your instance.

Built for Stack Config 1.1 on 1.21.1 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1. It targets 1.21.1, 1.21.10, 1.21.11 with Fabric; 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

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1. It opens that exact file at the source.

About this project

What does Stack Config add?

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.

Project description from Modrinth.

Pick your setup

Stack Config by Minecraft version and loader

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

46 available setups

Showing the newest 12 of 24 game versions. Older files are in the list below.

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

Recent files

Stack Config versions and loaders

1 of 11 releases match
Clear filters

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