Mods / Th3Restock

Tags: #QoL
Author: Th3Dilli
Side: Both
Created: Aug 30th 2021 at 8:52 PM
Last modified: 1 day ago
Downloads: 4259
Follow Unfollow 41

Recommended download (for Vintage Story 1.21.0-pre.1 - 1.21.6):
th3restock_1.1.3.zip  1-click install


 

For help, discussion, suggestions and polls on new fetures join the Discord Server

 
This mod adds the ability to restock your current hotbar slot. You can either do it manually by pressing the Hotkey (Default: R, can be changend in the Setting > Controls) or automatically for blocks.
 
The mod adds two commands:
/restock
/autorestock [true/false]

The autorestock feature is enabled by default.

Internally the /restock command is called when you press the Hotkey (Default: R) or when placing block and stacksize reaches one block.

 

When building and the current stack reaches one block it will refill from hotbar and backpack. This automatic restock can be disabled with this command.
/autorestock false​

 

 

When pressing the Hotkey (Default: R) blocks/items will restock into current active hotbar slot

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.3 th3restock
1.21.0-pre.1 - 1.21.6
14 1 day ago th3restock_1.1.3.zip 1-click install

Fix restock not working if the stack would be emoty by the place action currently done

1.1.2 th3restock
1.20.11 - 1.21.0-pre.1
1197 Feb 2nd 2024 at 5:23 PM th3restock_1.1.2.zip 1-click install

1.19

1.1.1 th3restock 547 Aug 9th 2023 at 10:21 PM th3restock_1.1.1.zip 1-click install

update to net7

1.1.0 th3restock 451 May 13th 2023 at 8:32 PM th3restock_1.1.0.zip 1-click install

update to 1.18
now working with plank , ingot and plates

1.0.2 th3restock
1.17.0 - 1.17.1
535 Sep 1st 2022 at 11:00 AM th3restock_1.0.2.zip 1-click install

updatet to 1.17.0

1.0.1 th3restock 789 Jan 11th 2022 at 10:02 AM th3restock_1.0.1.zip 1-click install

add autorestock for firewood and peat (planks, ignots, plates are not working atm)

1.0.0 th3restock 726 Aug 30th 2021 at 9:15 PM th3restock_1.0.0.zip 1-click install

initial release


5 Comments (oldest first | newest first)

Th3Dilli , 1 day ago

koitsu
should be fixed now

koitsu, Feb 1st at 2:11 AM (modified Feb 1st at 2:20 AM)

Th3Dilli It's been 4.5 years since old comment, re: this not working with firewood.  It works fine with other stackable things (ex. peat). Can this be investigated? To be clear, there are 3 behaviours with firewood which are weird:

Situation 1:

  • Hotbar has 4, inventory has 10
  • Press "R" whilst hotbar entry is selected.  Result: nothing happens.  What should happen: hotbar should contain 14, inventory contains none

 

Situation 2:

  • Hotbar has 2 (or 1), inventory has 10
  • Placing firewood in a stack whilst hotbar entry selected: press Shift + Right-click.  Result: hotbar empty, inventory has 10.  What should happen: hotbar should contain 10, inventory contains none

 

Situation 3:

  • Hotbar has 4, inventory has 10
  • Placing all firewood in a stack whilst hotbar entry selected: press Shift + Ctrl + Right-click: Result: hotbar empty, inventory has 10.  What should happen: hotbar should contain 10, inventory contains none


If you want to look at how another mod does this -- be aware though, this mod is very wonky with some of its behaviours so don't just copy-paste code -- look at CFY SimpleRefill

prototype464, Dec 4th 2025 at 8:15 PM

Great mod! Forgot about this feature from Tweakeroo. Really useful on MC.

Th3Dilli , Sep 10th 2021 at 3:41 PM

I will look further into it but when i made the mode i couldnt do it as easy like with blocks unfortunatlly

Travisplo, Sep 8th 2021 at 1:24 AM

Is there any chance that this could also be modified so that it works with Firewood as well? Restock when the stack hits 8 or something?