Links
Tags
Creators
Details
1.2.0
Compatibility
Required content
Changes
Custom Stack Size Mod – Overview
This mod adjusts the maximum stack size of various items in Minecraft to improve inventory management and balance. It works with both vanilla and modded items, using flexible detection methods such as item tags and data components.
✨ Features
-
Vanilla item adjustments
Many vanilla items have their stack sizes changed to more practical values (e.g., boats stack to 8, totems to 8, potions to 16, beds to 16, etc.). -
Automatic detection of modded potions
Any item that behaves like a potion (contains aPotionContentscomponent) automatically gets a stack size of 16 – no extra configuration needed. -
Tag‑based support for modded items
Mod authors can make their items follow the same rules by adding them to existing vanilla tags (e.g.,#minecraft:beds,#minecraft:boats,#minecraft:skulls,#minecraft:buckets,#minecraft:creeper_drop_music_discs). -
Optional default rule for all modded items
(Configurable) All non‑vanilla items can be assigned a default stack size (e.g., 64), with the possibility to exempt tools/armor via type checks.
🎯 Why this mod?
Vanilla Minecraft has inconsistent stack sizes for many items – some are limited to 1 or 16 for no obvious reason. This mod normalises them while respecting game balance:
| Item Category | New Stack Size |
|---|---|
| Potions (all types) | 16 |
| Beds | 16 |
| Boats & Chest Boats | 8 |
| Minecarts | 8 |
| Totems of Undying | 8 |
| Heads | 8 |
| Music Discs | 16 |
| Buckets (all kinds) | 16 |
| Shields | 4 |
| Armor Stands | 4 |
| Elytra | 8 |
| Saddle | 16 |
(Full list in the mod’s documentation)
🔌 Compatibility
- Fabric (Minecraft 1.21.11)
- Works with any mod that uses standard Minecraft systems (tags, components).
- For modded items to be recognised, they only need to be added to the appropriate vanilla tags – no special API required.
🛠️ Usage
Simply install the mod. No configuration is needed for the default behaviour.
If you want to change any stack size value, edit the config file (if provided by the mod) or modify the source code (the mod is open‑source).
📜 License
MIT – free to use, modify, and redistribute.
🙏 Credits
Inspired by the need for better inventory management and consistent item stacking rules.
Developed by Monkey.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:RQteVlx1:HKEf7Dep"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RQteVlx1:HKEf7Dep"
}

