nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Stackables

Stackables

Mod

Make some non-stackable items stackable.

Server StorageUtility

25.9k downloads
163 followers

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!

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 potions
  • stackables:splash_potions - Splash potions
  • stackables:soups - Stews & soups (everything in wooden bowls)
  • stackables:enchanted_books - Enchanted books
  • stackables:boats - Regular and chest boats
  • stackables:minecarts - All forms of minecarts
  • stackables:buckets - Powder snow, water, and lava buckets
  • stackables:beds - Beds
  • stackables:music_discs - Music discs
  • stackables:instruments - Goat horns
  • stackables:banner_patterns - Banner patterns
  • stackables:horse_equipment - Saddles and horse armor
  • stackables:cakes - Cake!
  • stackables:totems - Totems of Undying
  • stackables:empty_buckets - Empty bucket
  • stackables:armor_stands - Armor stands
  • stackables:banners - Banners
  • stackables:signs - Both standing and hanging signs
  • stackables:throwables - Eggs and snowballs
  • stackables:ender_pearls - Ender pearls
  • stackables:drinkables - Honey bottles and milk buckets
  • stackables:signed_books - Signed books
  • stackables: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 to false to 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.2
  • decoratedPotCount: true|false - Maximum stack size for decorated pots. Only in 1.20-1.20.2
  • emptyBucketCount: 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 to false to 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.

External resources


Project members

Roundaround

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID