Modscraper Modscraper Minecraft
Stack Refill logo

Stack Refill

Mod

by Serilum

📚 Automatically refills the player's hand when using the final item if a replacement exists.

Type

Mod

CurseForge Downloads

16,014,224

CurseForge ID

411813

Modrinth Downloads

2,249,516

Modrinth ID

mQWkB9ON

Last Updated

Nov 7, 2026

Description

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube

About the mod

Stack Refill is a utility mod which automatically refills the itemstack in the player's hand if there is any of the same item in the inventory. It works for weapons in combat, tools used on blocks, stacks when placing blocks, eating food, using potions, tossing items on the ground, drinking milk buckets, when breaking a fishing rod and should work with all modded blocks. Thrown items like tridents and splash potions are refilled too. One of my personal favourite quality of life tweaks.

Has to be installed on the server, as that's where the refilling happens. Players don't need it on their client. What gets refilled can be changed in the config, including a blacklist and whitelist for specific items. With /stackrefill every player can also turn it off for themselves.



Dependencies

Requires Collective
Included in The Vanilla ExperienceIncluded in Serilum's QoL Bundle
Environment: Client & Server




Configurable

Configuration guide

   All available config options:

Show Spoiler

refillBlocksAndItems  default true
Whether the hand is refilled when the last item of a stack is placed, used, eaten or thrown. For example blocks, food, bone meal, eggs and potions.

refillToolsAndWeapons  default true
Whether an item with durability is replaced by the same item from the inventory when it breaks or is thrown. For example tools, swords, fishing rods and tridents.

refillAfterDroppingLastItem  default true
Whether the main hand is refilled when its last item is dropped with the drop key.

refillBuckets  default true
Whether buckets are refilled. When disabled, a bucket that is emptied or filled stays in the hand instead of being swapped for another bucket from the inventory.

refillFromOtherHotbarSlots  default false
Whether the other hotbar slots are searched as well. When disabled, only the main inventory is used to refill the hand.

itemBlacklist  default ""
A comma separated list of item ids that are never refilled. Use * as a wildcard. An id without a namespace matches items of every mod. For example 'minecraft:totem_of_undying,*shulker_box'.

itemWhitelist  default ""
When not empty, only the items in this comma separated list are refilled. Same format as itemBlacklist, for example 'minecraft:*_planks,cobblestone'.




Commands

/stackrefill toggle - Turns Stack Refill on or off for yourself.

/stackrefill enable - Turns Stack Refill on for yourself.

/stackrefill disable - Turns Stack Refill off for yourself.

/stackrefill help - Shows the usage of commands.




Showcase

A sword being replaced during combat:

Show Spoiler


A shovel being replaced when digging dirt:

Show Spoiler


Log blocks being replaced while placing them down:

Show Spoiler


Bread being replaced after consumption:

Show Spoiler


Potions being replaced after consumption:

Show Spoiler


Items replaced after being tossed:

Show Spoiler


A milk bucket being replaced after being consumed:

Show Spoiler

 
A fresh fishing rod after its last use:

Show Spoiler


When using items on (modded) blocks, such as a sieve from Ex Nihilo:

Show Spoiler




Notes and links

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


Compatibility

Mod Loaders

Fabric Forge Neoforge Quilt

Game Versions

1.16.5 1.18.2 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 +19 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (415)

Show fewer
Dungeons and Shuttles Evolution Dungeons and Shuttles Evolution RageCraft Revived RageCraft Revived Chase the Skies Chase the Skies ExileColonies ExileColonies Guns, military, and stuff lite Guns, military, and stuff lite Simple Automation 2.0 | Beginner-Friendly Tech & Automation Simple Automation 2.0 | Beginner-Friendly Tech & Automation Elarion Elarion Nomurras Terror Nomurras Terror CottageCore Creations CottageCore Creations ES CRAFT ES CRAFT A Bit o' Everything A Bit o' Everything Mechanical Horizons Aeronautics Mechanical Horizons Aeronautics Cobblemon Sky Adventure Cobblemon Sky Adventure Shattered Skies [LC] Shattered Skies [LC] iByte Odyssey iByte Odyssey Economycraft Economycraft MHG: Cities! MHG: Cities! (Closed) CE Wandering Wilds (Closed) CE Wandering Wilds Elemental Engineering Elemental Engineering Cute-Cozy-Worlds Cute-Cozy-Worlds Aeronautics-The Create Dream Aeronautics-The Create Dream ArkobiCraft ArkobiCraft Woody's-One Piece Adventure Woody's-One Piece Adventure SIMPLY: Survival SIMPLY: Survival Catch, Create, Conquer Catch, Create, Conquer Crazy Craft (RPG) Crazy Craft (RPG) Cobblemon Vulkan (Performance Pack) Cobblemon Vulkan (Performance Pack) Overclock - Tech Automation with Quests | Create, Aeronautics, AE2, Modern Industrialization & More Overclock - Tech Automation with Quests | Create, Aeronautics, AE2, Modern Industrialization & More EpicFight - Limitless EpicFight - Limitless Nerd Dead Nerd Dead DoomsDay Jurassic DoomsDay Jurassic Cherry Shrooms Cherry Shrooms New World - Legends New World - Legends Winter Arc Winter Arc The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse Equal Sky! Equal Sky! Realms Of Reverie Realms Of Reverie Create Computers Create Computers Modularity: Industrial Progress - (M:I1) Modularity: Industrial Progress - (M:I1) Consume The World! Consume The World! Terra by Sexy Crew Terra by Sexy Crew Farmageddon Farmageddon Witches, Warlocks, Vampires, and Werewolves Witches, Warlocks, Vampires, and Werewolves Dwarfz 5 Dwarfz 5 AestheticCraft - Cozy Adventure | MC Cozy 1.21.1 AestheticCraft - Cozy Adventure | MC Cozy 1.21.1 Homies Hangout Kingdom Homies Hangout Kingdom Vanilla Horizons Vanilla Horizons World of Minecolonies World of Minecolonies Better Third Person (BTP) Better Third Person (BTP) Classic Evolved Classic Evolved Gregtech Voyager Gregtech Voyager Aetheris QoL Aetheris QoL Knights of the Eve Knights of the Eve The Convergence I The Convergence I Leer Dungeons: Distant Horizon Leer Dungeons: Distant Horizon The Ultimate Limitless - TUL 2 The Ultimate Limitless - TUL 2 Endless Sky 2 Endless Sky 2 Cobblemon Enhanced - Pokemon Adventure Cobblemon Enhanced - Pokemon Adventure The Copper Age The Copper Age Create Aeronautics Space Age Create Aeronautics Space Age CoZY Miners CoZY Miners Zomboid Craft Zomboid Craft The Ultimate Limitless - TUL The Ultimate Limitless - TUL Crafterria: Genes & Gears Crafterria: Genes & Gears Chronicles of the Lost Lands Chronicles of the Lost Lands AstralSpace [AS] AstralSpace [AS] Arkobia 2 Arkobia 2 Mekacraft! Mekacraft! THE ASTEROID skyblock THE ASTEROID skyblock PossessedArmor's Random Starters Cobblemon PossessedArmor's Random Starters Cobblemon Freaky Pack - Cute vs Horror Freaky Pack - Cute vs Horror Sitchen Kink Sitchen Kink LongPlay Origins LongPlay Origins The One And Only Mania The One And Only Mania AVP Tech AVP Tech Echoes of Kaepora Echoes of Kaepora Ascension of the Archmage Ascension of the Archmage Tinker's Create [Fabric] Tinker's Create [Fabric] TerraForge TerraForge Snorland Cobblemon Snorland Cobblemon Collectionist Collectionist Dank-Dreams Dank-Dreams Changed-Hell Changed-Hell Create Next to the Sky Create Next to the Sky RISAKU project RISAKU project Eight Seas Eight Seas Kingdom HeartCraft Kingdom HeartCraft The Goofy Gooners MC The Goofy Gooners MC TensuraNewWorld TensuraNewWorld Copper Valley Copper Valley RLChanged RLChanged DejaTwo's Fantasy DejaTwo's Fantasy PebbleTown PebbleTown The RawffleVerse Reforged The RawffleVerse Reforged Triberean's Ultimate Furniturecraft Triberean's Ultimate Furniturecraft CloudCraft ModPack CloudCraft ModPack Magitechnical Mysticism Magitechnical Mysticism Cobblemon Champions Cobblemon Champions The Kindred's Cobblemon Adventures The Kindred's Cobblemon Adventures Magitechnical Mysticism 2 Magitechnical Mysticism 2

External Resources