


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_pearlto target a single item or#minecraft:boatsto 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
getMaxStackSizecall without a restart.
Config format
{
"minecraft:ender_pearl": 64,
"minecraft:saddle": 64,
"#minecraft:beds": 64
}
Prefix with # to match a tag.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as stack-config-26.2-fabric-1.1.jar — drop this file into the mods folder
- Download size: 11 KB
- Download link checked 8 Sept 2026 — working
These come from our own check of the pack file, not from the source page.