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,005,280

CurseForge ID

411813

Modrinth Downloads

2,246,925

Modrinth ID

mQWkB9ON

Last Updated

Nov 6, 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 (414)

Show fewer
Homestead - A Cozy Survival Experience Homestead - A Cozy Survival Experience FTB StoneBlock 3 FTB StoneBlock 3 MineColonies: Dimensional Adventure MineColonies: Dimensional Adventure Prehistoric World - Dinosaurs, Adventure & Quests | NEW PREHISTORY UPDATE! Prehistoric World - Dinosaurs, Adventure & Quests | NEW PREHISTORY UPDATE! New Game - An Improved Experience | 1.21 UPDATE! New Game - An Improved Experience | 1.21 UPDATE! Homestead Homestead BigChadGuys and the Holy Grail BigChadGuys and the Holy Grail UniversIO UniversIO Slightly Flavoured Slightly Flavoured Essentials Mods [FORGE] - 1.21 RELEASE! Essentials Mods [FORGE] - 1.21 RELEASE! New Simple Mods - Easy to Understand | 1.21 UPDATE! New Simple Mods - Easy to Understand | 1.21 UPDATE! Prehistoric World Prehistoric World Mystical Block Mystical Block More Animals [FORGE] - 1.21 UPDATE! More Animals [FORGE] - 1.21 UPDATE! New Game 2 - Enjoy An Adventure Without Limits New Game 2 - Enjoy An Adventure Without Limits Arcadia [RPG] Arcadia [RPG] More Decorations [FORGE] - 1.21 UPDATE! More Decorations [FORGE] - 1.21 UPDATE! The Vanilla Experience | TVE The Vanilla Experience | TVE The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! Ocean Depths - Quests & Ocean Mods Ocean Depths - Quests & Ocean Mods Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests Strictly Medieval 3 [FORGE] Strictly Medieval 3 [FORGE] New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 Vanilla+ Lightweight | MC Vanilla+ 1.21.11 Vanilla+ Lightweight | MC Vanilla+ 1.21.11 More Realistic [FORGE] - 1.21 UPDATE! More Realistic [FORGE] - 1.21 UPDATE! Sensible MC Sensible MC Advent of Ascension Plus Advent of Ascension Plus Better Realism MC | Vanilla+ & Realism (Based on RealismCraft) Better Realism MC | Vanilla+ & Realism (Based on RealismCraft) More Biomes [FORGE] - 1.21 UPDATE! More Biomes [FORGE] - 1.21 UPDATE! MineColonies - Create & Conquer MineColonies - Create & Conquer Sky Alchemy Sky Alchemy Essentials Mods [FABRIC] - 1.21 RELEASE! Essentials Mods [FABRIC] - 1.21 RELEASE! From Magic To Tech From Magic To Tech Fabri's Frontiers Fabri's Frontiers More Dungeons [FORGE] - QUALITY UPDATE! More Dungeons [FORGE] - QUALITY UPDATE! More Animals [FABRIC] - 1.21 UPDATE! More Animals [FABRIC] - 1.21 UPDATE! PandAce's World PandAce's World Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Skyopolis 5 Skyopolis 5 Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Comes Alive (Create + MCA) Create Comes Alive (Create + MCA) Fuller's PokePack: cobblemon / pokemon modpack Fuller's PokePack: cobblemon / pokemon modpack Mystic's Monstrosity Mystic's Monstrosity ChillCraft - CC1 ChillCraft - CC1 Create: Superflat Survival Create: Superflat Survival Ozone Skyblock Reborn 2 Ozone Skyblock Reborn 2 HP - Create World of Gears - Create 6.0.9 HP - Create World of Gears - Create 6.0.9 MC Vanilla 2.0 - QUALITY UPDATE! MC Vanilla 2.0 - QUALITY UPDATE! CreateAndSpace CreateAndSpace Infinite Horizons - Modded Superflat Survival Infinite Horizons - Modded Superflat Survival NeoForge Foundry NeoForge Foundry More Decorations [FABRIC] - 1.21 UPDATE! More Decorations [FABRIC] - 1.21 UPDATE! Creative Drawers Producer Creative Drawers Producer Origins Revolution | With Origins & Origins Addons Origins Revolution | With Origins & Origins Addons Rhinocraft Rhinocraft Cryptopolis Cryptopolis Noyan ModPack Noyan ModPack FTB NeoTech FTB NeoTech Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Bountiful Wilds Bountiful Wilds Prison Escape - Beginnings Prison Escape - Beginnings Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Project SkyQ 2 Project SkyQ 2 More Realistic [FABRIC] - 1.21 UPDATE! More Realistic [FABRIC] - 1.21 UPDATE! Ultra Hardcore Renewed - Do you dare to play it? | 1.21 UPDATE! Ultra Hardcore Renewed - Do you dare to play it? | 1.21 UPDATE! Remade And Remastered Remade And Remastered Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Strictly Medieval [FORGE] Strictly Medieval [FORGE] More Animals 2 - Exclusive Edition with Animals Quests! More Animals 2 - Exclusive Edition with Animals Quests! Uncharted Expeditions Uncharted Expeditions The Last War - Guns And Adventure The Last War - Guns And Adventure SharedLife - New Multiplayer Experience! SharedLife - New Multiplayer Experience! MineColonies - Cobblemon Conquest MineColonies - Cobblemon Conquest More Decorations 2 - Exclusive Edition | Decoration Mods! More Decorations 2 - Exclusive Edition | Decoration Mods! Plants vs. Zombies+ | With Plants vs Zombies & More! Plants vs. Zombies+ | With Plants vs Zombies & More! Primal Apocalypse - Unusual Survival with Dinosaurs, Guns and Quests | Prehistoric Apocalypse Primal Apocalypse - Unusual Survival with Dinosaurs, Guns and Quests | Prehistoric Apocalypse Haven: Caveblock - Reborn Haven: Caveblock - Reborn New Simple Mods [FABRIC] - Without Complex Mods! | NEW VERSION! New Simple Mods [FABRIC] - Without Complex Mods! | NEW VERSION! Path of the Ascended Path of the Ascended All The Hacks - ATH All The Hacks - ATH Lunaria Expert Lunaria Expert More Dungeons [FABRIC] - 1.21 UPDATE! More Dungeons [FABRIC] - 1.21 UPDATE! Strictly Medieval [ FORGE ] 2 Strictly Medieval [ FORGE ] 2 Essentials Mods Essentials Mods More Biomes [FABRIC] - 1.21 UPDATE! More Biomes [FABRIC] - 1.21 UPDATE! Cute Things Galore Cute Things Galore Better Experience (BTV) - Last Update! | The Copper Age! Better Experience (BTV) - Last Update! | The Copper Age! All The Dungeons | New Combat and Dungeons All The Dungeons | New Combat and Dungeons Truly Essentials - First Step (Vanilla+) Truly Essentials - First Step (Vanilla+) The End Of Herobrine The End Of Herobrine Our Story - Earth 2 (soon) Our Story - Earth 2 (soon) Medival, Magic & Tech NeoForge Medival, Magic & Tech NeoForge More Animals 2 More Animals 2 Gold Edition Gold Edition Haven: Veni de Nova Haven: Veni de Nova Create: Gears of History Create: Gears of History Plants vs Zombies Overgrowth Plants vs Zombies Overgrowth The Cobblemon Colonies The Cobblemon Colonies

External Resources