
Stack Refill
📚 Automatically refills the player's hand when using the final item if a replacement exists.
About this 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. One of my personal favourite quality of life tweaks.
Has to be installed on both the client and the server for the best reliance. Can be used server-side only, but this may cause some visual desyncs.
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

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!
Available Versions
How to Install Stack Refill on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).
Install Mod
Open the mod browser in the dashboard and search for "Stack Refill". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+25 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Stack Refill server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.
Is Stack Refill compatible with fabric and forge and neoforge and quilt?
Stack Refill officially supports fabric, forge, neoforge, quilt for Minecraft 26.2, 26.1.2, 26.1.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Stack Refill – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Stack Refill consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Stack Refill with just one click on your server.
