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
Secret Mission: Christmas Secret Mission: Christmas Enchanted Genesis Enchanted Genesis NeoForge Foundry: StoneFactory Edition NeoForge Foundry: StoneFactory Edition Mystical Block Reloaded Mystical Block Reloaded Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Captive Survival Captive Survival                                                                                                AMP - Mechanisms, Magic & Masonry AMP - Mechanisms, Magic & Masonry Project Spacee Project Spacee Do I am cake? Do I am cake? Spell Sword Spell Sword knight epic fight knight epic fight Fishing Block Fishing Block Medival, Magic & Tech Forge Medival, Magic & Tech Forge TJP - Endless Sky TJP - Endless Sky Ocean Depths Ocean Depths Cozy Experience - with Cute & Cozy Items! Cozy Experience - with Cute & Cozy Items! Servidor Magnatas Servidor Magnatas World Destroying - Apocalipse Zombie World Destroying - Apocalipse Zombie Create Bosses+ Create Bosses+ Kabbalah Block Kabbalah Block HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests It Takes a Journey It Takes a Journey MagiCraft4 - The Curse of Ignis MagiCraft4 - The Curse of Ignis OneBlock OneLife OneBlock OneLife Cozy Meadows Cozy Meadows Volormon Volormon Mystical Block 2 Mystical Block 2 Soulheart Cobblemon Soulheart Cobblemon FalCraft | The Ultimate Falsity Experience FalCraft | The Ultimate Falsity Experience Community Community The Warborn Realms SMP The Warborn Realms SMP LOPA - Life of Plants and Animals FABRIC LOPA - Life of Plants and Animals FABRIC SteinCraft RPG SteinCraft RPG Aetherion - The Aether II Expanded Aetherion - The Aether II Expanded Create: End Times (Apocalypse) - With Create 6.0! Create: End Times (Apocalypse) - With Create 6.0! Armageddon [Official Modpack] Armageddon [Official Modpack] The Skies of Newstone Hollow The Skies of Newstone Hollow Visuality Visuality Tensura+ (That Time I Got Reincarnated as a Slime) Tensura+ (That Time I Got Reincarnated as a Slime) Chunk World Chunk World Cobblemon Realms Lite Cobblemon Realms Lite Au Naturel Au Naturel R2D2 | Races Origins | Survival/RPG/Fantasy R2D2 | Races Origins | Survival/RPG/Fantasy BlazeandCave's Expanded BlazeandCave's Expanded FemboyCraft FemboyCraft Skyblock 1 by Krazyman999 Redux Skyblock 1 by Krazyman999 Redux Dungeon Warfare - FUN RPG | Firearms and RPG! Dungeon Warfare - FUN RPG | Firearms and RPG! Volormon Volormon Essentials Mods - Halloween Edition [CurseForge Server] Essentials Mods - Halloween Edition [CurseForge Server] Prison Escape - Beginnings (reborn) Prison Escape - Beginnings (reborn) Create: Magic Adventures Create: Magic Adventures MageTech [FORGE] MageTech [FORGE] Transportcraft Next Generation Transportcraft Next Generation BUILDTECH 3 BUILDTECH 3 FOXY COZY LITE FOXY COZY LITE Community in the Skies Community in the Skies Lightweight Adventure RPG Survival Lightweight Adventure RPG Survival BeetleKnight's Beyond BeetleKnight's Beyond Fresh And Scary Fresh And Scary GTBC's Legacy Enhanced - Distant Horizons Edition GTBC's Legacy Enhanced - Distant Horizons Edition Chronicles of Magic | The First Magician Chronicles of Magic | The First Magician Brutal Hardcore Brutal Hardcore Immersive Pixelmon Immersive Pixelmon The Server26 Clientside Bundle The Server26 Clientside Bundle DirtBlock DirtBlock The Ember Project The Ember Project FriendsCraft - Designed for Multiplayer | Vanilla-Friendly FriendsCraft - Designed for Multiplayer | Vanilla-Friendly Dieselpunkery Dieselpunkery Play Together | Multiplayer, Shared Life, Inventory & Progression (Multiplayer Experience with Friends) Play Together | Multiplayer, Shared Life, Inventory & Progression (Multiplayer Experience with Friends) Cobblemon Vulkan Cobblemon Vulkan After Humans Retouched+ After Humans Retouched+ Forest NOTHING Forest NOTHING Better Aeternium Better Aeternium DND: Narnia DND: Narnia Farms N' Furniture Farms N' Furniture ChillCraft  - Play Your Way, Chill Your Way ChillCraft - Play Your Way, Chill Your Way The Rise of Newstone Hollow The Rise of Newstone Hollow The Conjuring: Last Rites | Horror Modpack The Conjuring: Last Rites | Horror Modpack Sky XP Sky XP MC EXPEDITIONS MC EXPEDITIONS Artifice & Industry Artifice & Industry Oneblock ExAqua Oneblock ExAqua ZUMBILÂNDIA - (ZOMBIE LAND) ZUMBILÂNDIA - (ZOMBIE LAND) Client Essentials Client Essentials Claws and Skies (Isle of Berk) Claws and Skies (Isle of Berk) Fertility Fertility Vanilla QOL Improved Vanilla QOL Improved The Second Ring - LOTR The Second Ring - LOTR Last Ascension Last Ascension Fresh AnimationCraftiar - iGorgi Edition Fresh AnimationCraftiar - iGorgi Edition SKD - Exploration SKD - Exploration All Roads Lead to The Void All Roads Lead to The Void Dylan's Awesome Mod Pack Dylan's Awesome Mod Pack BlazeandCave's Expanded+ BlazeandCave's Expanded+ Taproot Taproot All The Loot! [REMASTERED] All The Loot! [REMASTERED] Not So CrazyCraft Not So CrazyCraft Magic OneBlock Project Magic OneBlock Project PhoenixTech: Reloaded PhoenixTech: Reloaded Aftermath: Zombie Apocalypse Aftermath: Zombie Apocalypse

External Resources