

Stackables
Turn Non-Stackable Items into Stackable Ones
The Stackables mod fundamentally changes inventory management by allowing items that previously occupied single slots to be stacked. Now potions, soups, cakes, enchanted books, full buckets, boats, minecarts, saddles, beds, music discs, goat horns, and banner patterns can be placed in stacks! Each category is individually configurable with sensible default values. For splash potions, there's an option to add a cooldown timer to maintain game balance.
Compatibility with Versions 1.20.5 and Newer
Starting with Minecraft 1.20.5, developers changed the maximum stack size configuration system, making it more data-driven. This creates challenges for dynamically changing settings through configuration files. Work on a solution continues, but future versions may require a revision of the dynamic configuration approach.
Compatibility Features and Potential Issues
Simply increasing the maximum stack size is not enough for proper operation. Vanilla Minecraft code (and many mods) contains numerous assumptions about the maximum stack size of items.
For example, when drinking milk from a bucket, the standard code simply replaces the item(s) in the slot with an empty bucket without checking the stack contents. If only the maximum stack size for milk buckets is increased, drinking from a stack will remove all items. Therefore, it's necessary to intercept relevant code sections and replace them with custom logic.
Such peculiarities are found throughout vanilla code and many mods. Most of these cases in the standard game have already been handled, but if you discover unaccounted situations, please report them for prompt resolution. Sometimes errors occur due to conflicts with other mods modifying the same code sections, which complicates their elimination.
Tag System
Starting with version 2.0.0, Stackables uses a tag system to manage maximum stack size. All settings are now controlled exclusively through new tags. If other mods contain items that should belong to specific categories, you can add them to appropriate tags using datapacks.
Complete Tag List
stackables:potions
- Potions and lingering potionsstackables:splash_potions
- Splash potionsstackables:soups
- Stews & soups (everything in wooden bowls)stackables:enchanted_books
- Enchanted booksstackables:boats
- Regular and chest boatsstackables:minecarts
- All forms of minecartsstackables:buckets
- Powder snow, water, and lava bucketsstackables:beds
- Bedsstackables:music_discs
- Music discsstackables:instruments
- Goat hornsstackables:banner_patterns
- Banner patternsstackables:horse_equipment
- Saddles and horse armorstackables:cakes
- Cakesstackables:totems
- Totems of Undyingstackables:empty_buckets
- Empty bucketsstackables:armor_stands
- Armor standsstackables:banners
- Bannersstackables:signs
- Both standing and hanging signsstackables:throwables
- Eggs and snowballsstackables:ender_pearls
- Ender pearlsstackables:drinkables
- Honey bottles and milk bucketsstackables:signed_books
- Signed booksstackables:decorated_pots
- Decorated pots. Only in versions 1.20-1.20.2
Configuration Settings
The mod's behavior is configured through the stackables.toml
file in the configuration folder. With ModMenu installed, a graphical settings interface is also available through the mod list (works only in single-player games).
Configuration Version 2 (mod versions >= 2.0.0)
modEnabled
:true|false
- Enable/disable the modpotions
:true|false
- Allow stacking potionspotionCount
:1-64
- Maximum stack size for potionssplashPotions
:true|false
- Allow stacking splash potionssplashPotionCount
:1-64
- Maximum stack size for splash potionssplashPotionDelay
:0-20
- Delay/cooldown for throwing splash potions in game tickssoups
:true|false
- Allow stacking soupssoupCount
:1-64
- Maximum stack size for soupsenchantedBooks
:true|false
- Allow stacking enchanted booksenchantedBookCount
:1-64
- Maximum stack size for enchanted booksbuckets
:true|false
- Allow stacking full bucketsbucketCount
:1-64
- Maximum stack size for full bucketsboats
:true|false
- Allow stacking boatsboatCount
:1-64
- Maximum stack size for boatsminecarts
:true|false
- Allow stacking minecartsminecartCount
:1-64
- Maximum stack size for minecartsbeds
:true|false
- Allow stacking bedsbedCount
:1-64
- Maximum stack size for bedsdiscs
:true|false
- Allow stacking music discsdiscCount
:1-64
- Maximum stack size for music discsinstruments
:true|false
- Allow stacking instruments (goat horns)instrumentCount
:1-64
- Maximum stack size for instrumentspatterns
:true|false
- Allow stacking banner patternspatternCount
:1-64
- Maximum stack size for patternshorseEquipments
:true|false
- Allow stacking horse equipmenthorseEquipmentCount
:1-64
- Maximum stack size for horse equipmentcakes
:true|false
- Allow stacking cakescakeCount
:1-64
- Maximum stack size for cakestotems
:true|false
- Allow stacking totemstotemCount
:1-64
- Maximum stack size for totemsdecoratedPots
:true|false
- Allow stacking decorated potsdecoratedPotCount
:true|false
- Maximum stack size for decorated potsemptyBucketCount
:1-64
- Maximum stack size for empty bucketsarmorStandCount
:1-64
- Maximum stack size for armor standsbannerCount
:1-64
- Maximum stack size for bannerssignCount
:1-64
- Maximum stack size for signsthrowableCount
:1-64
- Maximum stack size for throwablesenderPearlCount
:1-64
- Maximum stack size for ender pearlsdrinkableCount
:1-64
- Maximum stack size for drinkablessignedBookCount
:1-64
- Maximum stack size for signed books
Configuration Version 1 (mod versions < 2.0.0)
modEnabled
:true|false
- Enable/disable the modpotions
:true|false
- Allow stacking regular & lingering potionspotionCount
:1-64
- Maximum stack size for potionssplashPotions
:true|false
- Allow stacking splash potionssplashPotionCount
:1-64
- Maximum stack size for splash potionssplashPotionDelay
:0-20
- Delay for throwing splash potionssoups
:true|false
- Allow stacking soupssoupCount
:1-64
- Maximum stack size for soupsenchantedBooks
:true|false
- Allow stacking enchanted booksenchantedBookCount
:1-64
- Maximum stack size for enchanted booksbuckets
:true|false
- Allow stacking full bucketsbucketCount
:1-64
- Maximum stack size for full bucketsboats
:true|false
- Allow stacking boatsboatCount
:1-64
- Maximum stack size for boatsminecarts
:true|false
- Allow stacking minecartsminecartCount
:1-64
- Maximum stack size for minecartsbeds
:true|false
- Allow stacking bedsbedCount
:1-64
- Maximum stack size for bedsdiscs
:true|false
- Allow stacking music discsdiscCount
:1-64
- Maximum stack size for music discshorns
:true|false
- Allow stacking goat hornshornCount
:1-64
- Maximum stack size for goat hornspatterns
:true|false
- Allow stacking banner patternspatternCount
:1-64
- Maximum stack size for patternssaddles
:true|false
- Allow stacking saddlessaddleCount
:1-64
- Maximum stack size for saddlescakes
:true|false
- Allow stacking cakescakeCount
:1-64
- Maximum stack size for cakesarmorStandCount
:1-64
- Maximum stack size for armor standsbannerCount
:1-64
- Maximum stack size for bannerssignCount
:1-64
- Maximum stack size for signssnowballCount
:1-64
- Maximum stack size for snowballseggCount
:1-64
- Maximum stack size for eggsenderPearlCount
:1-64
- Maximum stack size for ender pearlshoneyBottleCount
:1-64
- Maximum stack size for honey bottlessignedBookCount
:1-64
- Maximum stack size for signed books