HOW TO SETUP:
1: Get 1 type of item (for ex. 5 cobblestone blocks) that you want to fill into a chest.
2: Look for an item called "Refill Chest"
3: Place a single or double refill chest
4: Hold the item you want to fill into the refill chest
5: Crouch/sneak, then interact/left-click on the refill chest
6: Click "Use item in my hand"
6:

