Stack to Nearby Chests Mod

Stack to Nearby Chests is a client-side mod that adds new capabilities and keybinds to help you sort your chests and quickly switch between inventories. Quick stacking and restocking are some of the most prominent features.

 The mod is highly influenced by the sorting capabilities in the game Terraria ‘s sorting capabilities. Other mods do similar things; some of the capabilities are common in many cheat clients. Some code for iterating with nearby containers/chests is based on EarthComputer’s clientcommands mod. 

Containers can refer to chests, trapped chests, barrels, shulker boxes, ender chests, and other stuff, the features of this mod work on many different types of containers, not just chests. When you 1st open a chest in the mod, the 1st thing you may see is on the right; there are two arrows, one pointing up and one pointing down. The One pointing up, called Quick Stack, auto stacks items from your inventory to the chest. There must be at least one incomplete stack of the item in the chest for an item to be moved there. Restock (the down arrow) does the same thing but the opposite, filling up the stacks of your inventory from the contents of the chest. Both of these can also be performed with hotkeys. It is also possible to exclude items in the mod options; by default, shulker boxes are excluded. 

One of the crowning features of this mod over other chest tweak mods is that this OneOne can do it within multiple chests/containers in an area. Stack to nearby containers does Quick Stacks to all the chests within the player’s reach. Restock from nearby chests is similar, but instead of doing Quick Stack, it does restock to the nearby chests. These actions can be done with buttons, but you can also set hotkeys to do it in the mod options.

 You can also favourite items.

Favouriting items can cause them to behave a bit differently (configurable). Favourited items cannot be Quick Stacked into a chest. They will stay in your inventory when performing a Quick stack (making this suitable for excluding particular individual items/stacks while doing a quick stack). You can also configure it to disable Q key throwing, quick moving and quick swapping. Favourites only work in survival mode, and switching to creative mode will wipe out all your favourites, so be careful. Moving an item out of your inventory can also unfavorite it. By default favourite items are marked with a gold badge, but this can be changed in the mod options.

 Most of the mod is configured with the Mod Options. To access the mod options, use the keyboard shortcut (Left-Ctrl S C). There are three tabs in the mod options, each with different things. In the behaviour tab, you can set things like


  • Not quick stacking items that are in your Hotbar (the bottom part of the inventory that you see on screen while playing)
  • Disabling the picking up of Favourite items (can be suitable for anti-stealing)
  • Disabling Quick Moving of Favourite items 
  • Disabling the Swapping of Favourites
  • Disabling the Throwing of Favourites 

The Keymap tab is used to set the keyboard shortcuts. By default, only the key for adding Favourite Items and the Key for Opening the mod options screen are set by default, they can be changed. Still, the rest need to be set manually, such as the keys for quick stacking/restocking and stacking/restocking nearby chests. The appearance tab can: 

  • Set the default Favourite indicator
  • Set what buttons you want to show (e.g., the Restock, Quick Stack, and doing these actions for nearby chests)
  • Set the X position of the stack to nearby containers GUI button.

 This is a client-side-only mod, it does not need to be installed on the server to work, and it is probably suggested that you do not install it on the server. 

This mod is currently fabric only and requires Fabric API, but the author has said that once bugs are fixed, there could be a Forge version.


Follow the procedures described below to install this mod into your game

  1. Download and install the Fabric
  2. Install Fabric API
  3. Download the mod
  4. Put the mod into .minecraft/mods folder
  5. Launch Minecraft


Game Versions
1.19.2 1.19.1 1.19
November 22, 2022

Your evaluation

It helps us to improve our recommendation


Please sign in or create an account to participate in this conversation.

Log In Required

Accessing certain features in our website requires authentication

Sign In

Or if you do not have an account

Create an account
Are you sure to delete this comment?

Note that you cannot reverse this action.

Report an issue

First, please select the reason why you are reporting.

Copyright Infringement
Inappropriate Description

Also please leave your email, so we can get back to you:

Please provide a valid email adress!
Post is saved to your bookmarks.
Report is sent!
Mod version does not match with the version of selected modpack
Select the language

After changing the language website content will be completely translated to the selected language and you can view translated versions of available posts.