Stack Refill

Quick rating

Community listing page, reviews may not be monitored by the author.

Stack Refill

By SerilumOwner

No reviews yet

๐Ÿ“š Automatically refills the player's hand when using the final item if a replacement exists.

Mod Loaders
Minecraft
26.3 26.2

About

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:

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:


A shovel being replaced when digging dirt:


Log blocks being replaced while placing them down:


Bread being replaced after consumption:


Potions being replaced after consumption:


Items replaced after being tossed:


A milk bucket being replaced after being consumed:

ย 
A fresh fishing rod after its last use:


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




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.

Comments are disabled as I'm unable to keep track of them across so many separate mod pages.
For issues, ideas, suggestions or anything else there is theย Github repo. Thanks!


curseforge.svg modrinth.svg patreon.svg youtube.svg

Requires the library modย Collective (Fabric) and the Fabric API.



ย  ย  ย This mod is part of The Vanilla Experience.
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.


Some GIFs:
A sword being replaced during combat:

a.webp


A shovel being replaced when digging dirt:

b.webp


Log blocks being replaced while placing them down:

c.webp


Bread being replaced after consumption:

d.webp


Potions being replaced after consumption:

e.webp


Items replaced after being tossed:

f.webp


A milk bucket being replaced after being consumed:

g.webp

ย 
A fresh fishing rod after its last use:

h.webp


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

i.webp


------------------

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

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

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is theย Github repo. Thanks!


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!