====== Restock ====== Restock is a Minecraft hack that automatically restocks your hand with the selected items from your inventory. Restock was originally created by [[gh>isjerryxiao]] in [[pr>Wurst7:558]]. ===== Settings ===== ==== Items ==== ^ Items ^^ ^Type|[[ItemListSetting|ItemList]]| ^In-game description|"Item(s) to be restocked."| ^Default items|[[mc>minecart]]| The "Items" setting determines which items should be restocked. By default, only [[mc>minecart]]s are restocked. ==== Slot ==== ^ Slot ^^ ^Type|Slider| ^In-game description|"To which slot should we restock."| ^Default value|0 (the first slot from the left)| ^Minimum|-1 (dynamically chooses the currently selected slot)| ^Maximum|9 (offhand slot)| ^Increment|1| The "Slot" setting determines to which slot the items should be restocked. Values from 0 to 8 correspond to the slots in the hotbar, from left to right. The value 9 corresponds to the offhand slot. The value -1 dynamically chooses whichever slot in the hotbar is currently selected. ==== Minimum amount ==== ^ Minimum amount ^^ ^Type|Slider| ^In-game description|"Minimum amount of items in hand before a new round of restocking is triggered."| ^Default value|1 item| ^Minimum|1 item| ^Maximum|64 items| ^Increment|1| The "Minimum amount" setting determines how many items can be in the user's hand before a new round of restocking is triggered. For example, if set to 5, Restock will only restock the selected slot if it contains 4 items or less. ==== Tools repair mode ==== ^ Tools repair mode ^^ ^Type|Slider| ^In-game description|"Swaps out tools when their durability reaches the given threshold, so you can repair them before they break.\\ Can be adjusted from 0 (off) to 100."| ^Default value|0 uses (off)| ^Minimum|0 uses (off)| ^Maximum|100 uses| ^Increment|1 use| The "Tools repair mode" setting swaps out tools when their durability reaches a certain threshold. When the durability of a tool reaches this threshold, the setting will swap the tool out for a different tool in the user's inventory, if there is one. The slider can be adjusted from 0 (off) to 100 remaining uses, in increments of 1. ===== Changes ===== {{template>:template:changes|FEATURE=restock}}