
Modrinth · Minecraft mod
Stackables
Make some non-stackable items stackable.
Quick answer
Which Stackables release should I use?
Stackables 2.0.1+1.20.3 targets 1.20.3, 1.20.4 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Stackables required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Stackables 2.0.1+1.20.3 need?
2.0.1+1.20.3. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Stackables without breaking your instance.
Built for Stackables 2.0.1+1.20.3. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.1+1.20.3. It targets 1.20.3, 1.20.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.0.1+1.20.3. It opens that exact file at the source.
About this project
What does Stackables add?
Stackables
Make some non-stackable items stackable. Works for potions, soups, cakes, enchanted books, full buckets, boats, minecarts, saddles, beds, music discs, goat horns, and banner patterns! Everything is configurable with sensible defaults built-in. Even includes an option to add a cooldown timer to splash potions to prevent them from being too strong!
Versions for 1.20.5 and beyond
Minecraft 1.20.5 changed how max stack size is configured for each item, making it more data-driven. Because of this, modifying the max stack size dynamically as you modify the configuration file is VERY unstable. I am still working on an alternative, but I fear that starting with 1.20.5, this mod might not be feasible anymore without completely doing away with the dynamic configuration aspect.
A note about bugs and mod compatibility
Be aware that simply changing the maximum stack size for items is not enough. If you know how to program and take a peek at the source for this mod, you'll understand immediately that vanilla Minecraft (and a lot of mods by extension) makes a lot of assumptions about the maximum stack size of items.
For example, when you drink a milk bucket, the vanilla code finishes off by simply replacing the item(s) in that slot with an empty bucket, without checking the actual contents. If I only increase the max stack size of milk buckets, drinking from a stack will wipe out the whole stack. Therefore I have to also hook into vanilla code where it handles drinking milk and replace it with custom logic to give you an empty bucket instead.
As I said above, these kinds of quirks are everywhere in the vanilla code and in a lot of mods. I have tried to find all the examples of this in vanilla code, but if you find any that I missed please report it on GitHub and I will do my best to fix it ASAP. In some cases, the bug is actually a result of another mod modifying the same points in code, which makes fixing the bug much more difficult. Sometimes, like with the commonly reported Easy Anvils, the mods are simply incompatible unless that mod's author writes their newly-added mod code in the same way my fixes are written, where stack size and maximum stack size can always be any number.
Tags
As of version 2.0.0, Stackables functions via tags! Every max stack size is now controlled exclusively through the new tags. If you come across mods that add items you feel should be included in a particular category, you can add them to the appropriate tag with a data pack!
Full list of tags
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- Cake!stackables:totems- Totems of Undyingstackables:empty_buckets- Empty bucketstackables: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 1.20-1.20.2
Configuration
You can configure the behavior of the mod from the stackables.toml file within your config folder. If you have ModMenu installed, you can also access the configuration through the UI in ModMenu's mod list (only affects single player worlds)!
Config version 2 (mod versions >= 2.0.0)
modEnabled:true|false- Simple toggle for the mod! Set tofalseto disable.potions:true|false- Whether to allow potions to stack.potionCount:1-64- Maximum stack size for potions.splashPotions:true|false- Whether to allow splash potions to stack.splashPotionCount:1-64- Maximum stack size for splash potions.splashPotionDelay:0-20- The delay/cooldown to add to throwing splash potions, in game ticks.soups:true|false- Whether to allow soups to stack.soupCount:1-64- Maximum stack size for soups.enchantedBooks:true|false- Whether to allow enchanted books to stack.enchantedBookCount:1-64- Maximum stack size for enchanted books.buckets:true|false- Whether to allow full buckets to stack.bucketCount:1-64- Maximum stack size for full buckets.boats:true|false- Whether to allow boats to stack.boatCount:1-64- Maximum stack size for boats.minecarts:true|false- Whether to allow minecarts to stack.minecartCount:1-64- Maximum stack size for minecarts.beds:true|false- Whether to allow beds to stack.bedCount:1-64- Maximum stack size for beds.discs:true|false- Whether to allow music discs to stack.discCount:1-64- Maximum stack size for music discs.instruments:true|false- Whether to allow instruments (i.e. goat horns) to stack.instrumentCount:1-64- Maximum stack size for instruments (i.e. goat horns).patterns:true|false- Whether to allow banner patterns to stack.patternCount:1-64- Maximum stack size for banner patterns.horseEquipments:true|false- Whether to allow horse equipment (i.e. saddles and armor) to stack.horseEquipmentCount:1-64- Maximum stack size for horse equipment (i.e. saddles and armor).cakes:true|false- Whether to allow cakes to stack.cakeCount:1-64- Maximum stack size for cakes.totems:true|false- Whether to allow totems to stack.totemCount:1-64- Maximum stack size for totems.decoratedPots:true|false- Whether to allow decorated pots to stack. Only in 1.20-1.20.2decoratedPotCount:true|false- Maximum stack size for decorated pots. Only in 1.20-1.20.2emptyBucketCount:1-64- Maximum stack size for empty buckets.armorStandCount:1-64- Maximum stack size for armor stands.bannerCount:1-64- Maximum stack size for banners.signCount:1-64- Maximum stack size for signs.throwableCount:1-64- Maximum stack size for throwables (i.e. snowballs and eggs).enderPearlCount:1-64- Maximum stack size for ender pearls.drinkableCount:1-64- Maximum stack size for drinkables (i.e. honey bottles and milk buckets).signedBookCount:1-64- Maximum stack size for signed books.
Config version 1 (mod versions < 2.0.0)
modEnabled:true|false- Simple toggle for the mod! Set tofalseto disable.potions:true|false- Whether to allow regular & lingering potions to stack.potionCount:1-64- Maximum stack size for regular & lingering potions.splashPotions:true|false- Whether to allow splash potions to stack.splashPotionCount:1-64- Maximum stack size for splash potions.splashPotionDelay:0-20- The delay/cooldown to add to throwing splash potions, in game ticks.soups:true|false- Whether to allow soups to stack.soupCount:1-64- Maximum stack size for soups.enchantedBooks:true|false- Whether to allow enchanted books to stack.enchantedBookCount:1-64- Maximum stack size for enchanted books.buckets:true|false- Whether to allow full buckets to stack.bucketCount:1-64- Maximum stack size for full buckets.boats:true|false- Whether to allow boats to stack.boatCount:1-64- Maximum stack size for boats.minecarts:true|false- Whether to allow minecarts to stack.minecartCount:1-64- Maximum stack size for minecarts.beds:true|false- Whether to allow beds to stack.bedCount:1-64- Maximum stack size for beds.discs:true|false- Whether to allow music discs to stack.discCount:1-64- Maximum stack size for music discs.horns:true|false- Whether to allow goat horns to stack.hornCount:1-64- Maximum stack size for goat horns.patterns:true|false- Whether to allow banner patterns to stack.patternCount:1-64- Maximum stack size for banner patterns.saddles:true|false- Whether to allow saddles to stack.saddleCount:1-64- Maximum stack size for saddles.cakes:true|false- Whether to allow cakes to stack.cakeCount:1-64- Maximum stack size for cakes.armorStandCount:1-64- Maximum stack size for armor stands.bannerCount:1-64- Maximum stack size for banners.signCount:1-64- Maximum stack size for signs.snowballCount:1-64- Maximum stack size for snowballs.eggCount:1-64- Maximum stack size for eggs.enderPearlCount:1-64- Maximum stack size for ender pearls.honeyBottleCount:1-64- Maximum stack size for honey bottles.signedBookCount:1-64- Maximum stack size for signed books.
Project description from Modrinth.
Pick your setup
Stackables by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader builds1.20
2 loader builds1.19.4
2 loader builds1.19.3
2 loader builds1.19.2
2 loader builds1.19.1
2 loader builds1.19
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Stackables versions and loaders
2.0.1+1.20.3
stackables-2.0.1+1.20.3.jar
6 Jan 2024
2.0.1+1.20.2
stackables-2.0.1+1.20.2.jar
6 Jan 2024
2.0.1+1.20
stackables-2.0.1+1.20.jar
6 Jan 2024
2.0.0+1.20.3
stackables-2.0.0+1.20.3.jar
6 Jan 2024
1.4.0+1.20.2
stackables-1.4.0+1.20.2.jar
27 Sept 2023
1.3.1+1.20
stackables-1.3.1+1.20.jar
27 Sept 2023
1.3.0+1.20
stackables-1.3.0+1.20.jar
23 Jun 2023
1.2.1+1.20
stackables-1.2.1+1.20.jar
8 Jun 2023
1.2.0+1.20
stackables-1.2.0+1.20.jar
8 Jun 2023
1.1.1+1.19.4
stackables-1.1.1+1.19.4.jar
3 May 2023
1.1.0+1.19.4
stackables-1.1.0+1.19.4.jar
3 May 2023
1.0.0+1.19.3
stackables-1.0.0+1.19.3.jar
8 Feb 2023
Looking for an older file? The official Modrinth project page is in Resources.