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
AllTheAvaritia ATA1 AllTheAvaritia ATA1 CleanCraft by ACUL [Neoforged] CleanCraft by ACUL [Neoforged] Age of Scales & Bones Age of Scales & Bones CAC Cobblemon Ars Create CAC Cobblemon Ars Create DivineRPG Plus DivineRPG Plus Cobbled Kingdom Mons Cobbled Kingdom Mons ROLO Edition ROLO Edition VACraft VACraft Create Trains Fabric Create Trains Fabric Goon Crew Collection VR Goon Crew Collection VR Classic Evolved Zero Classic Evolved Zero Into the World of Middle-earth Into the World of Middle-earth GeoThronesSMP GeoThronesSMP Whittled & Wistful Whittled & Wistful Createmon Cindoria Createmon Cindoria Sinborn Odyssey 2 Sinborn Odyssey 2 Classic, but not a classic - CBNC Classic, but not a classic - CBNC AREACRAFT AREACRAFT Magecraft: A Gods Tale Magecraft: A Gods Tale AGBz AGBz Ex.Beta RDX Ex.Beta RDX EverWyn Survival EverWyn Survival BMCITY - ONE MORE TIME BMCITY - ONE MORE TIME Vanilla for starters Vanilla for starters Create Unending Create Unending Create - Technomancy Create - Technomancy Vanilla Re-Envisioned Vanilla Re-Envisioned Redacted II: Aerofactory Redacted II: Aerofactory minna no saba minna no saba EinsEinundzwanzigElf EinsEinundzwanzigElf AluCraft SMP AluCraft SMP Milk and Stuff: Remilked Milk and Stuff: Remilked Empyrean Expansion Empyrean Expansion Industrial Skies pack Industrial Skies pack Cobblezados Cobblezados Sublime Experience Sublime Experience Cobblemon Cursed Lake Cobblemon Cursed Lake Nayxo's Trailer Modpack Nayxo's Trailer Modpack Cobble Life Cobble Life vilmiComfort vilmiComfort The Ultimate Vanilla Experience The Ultimate Vanilla Experience Cody's Cobblemon Adventure Cody's Cobblemon Adventure Cogwork Genesis Cogwork Genesis Neos Colony Neos Colony Wyrdworks Wyrdworks Whiteout Protocol Whiteout Protocol Gänses pack Gänses pack Create - Technomancy 2 Create - Technomancy 2 ProhlisCraft 4: Return of the Prohlisgang! ProhlisCraft 4: Return of the Prohlisgang! The Cozy Artificer The Cozy Artificer Scoobyland - Create and Friends Scoobyland - Create and Friends Cozmic's Vanilla Enhanced Cozmic's Vanilla Enhanced ftehe's Vanilla+ ftehe's Vanilla+ ItzBuble's Create ItzBuble's Create PitoCraft 2 PitoCraft 2 Claws of Fire and Bone Claws of Fire and Bone Wild Odyssey Wild Odyssey Create - The Adventurer Create - The Adventurer OXG Modpack Client OXG Modpack Client WorldStudios' WackyCraft WorldStudios' WackyCraft LessGrind+ LessGrind+ Trambiquecraft Trambiquecraft Community in the Skies (with Origins) Community in the Skies (with Origins) Forge-rune.fr Forge-rune.fr Venturecraft Venturecraft CARCHcraft CARCHcraft NeoAdventure NeoAdventure Barely Modded Barely Modded MineCity NewEra MineCity NewEra Lala's Land Lala's Land MultiCraft: Realms & Rockets MultiCraft: Realms & Rockets Reincarnation and Wrenches Reincarnation and Wrenches HypeCraft - Saison 3 HypeCraft - Saison 3 BagelQuest BagelQuest Bud Du Bud Bud Du Bud CC - CreateCobble CC - CreateCobble Gears, Dragon and Vampires Gears, Dragon and Vampires MVanilla MVanilla Arcane Acres RPG 2 Arcane Acres RPG 2 Fever MC Fever MC CozyCraft Adventures CozyCraft Adventures The Fourth Wall SMP Modpack Yokoshima Empire Yokoshima Empire Creators Wilds Creators Wilds Argyll's solo leveling Argyll's solo leveling Aetherium [FORGE] Aetherium [FORGE] Brixton Buttered Crumpets Brixton Buttered Crumpets Bachnet Survival Bachnet Survival HighBarBlue's Vanilla+ Modpack HighBarBlue's Vanilla+ Modpack Amethyst Eclipse Amethyst Eclipse prjkt333 prjkt333 NotYourAvragePack NotYourAvragePack Vanilla Cataclysst Vanilla Cataclysst Vanilla Enhanced Vanilla Enhanced Orange Juice with Pulp Orange Juice with Pulp SIMPLY: Vanilla SIMPLY: Vanilla fedcraft Iter Mutabilus: The Spread of Creation Iter Mutabilus: The Spread of Creation a Totally Normal Vanilla+ Modpack a Totally Normal Vanilla+ Modpack SquirrelPAK 123 SquirrelPAK 123

External Resources