Client-side Minecraft mod (Fabric) that serves as an addon for Tweakeroo.
Replaces the default handRestock behavior with a more efficient implementation using Quick Move (Shift+Click) mechanics.
Adds two new options to Tweakeroo's Generic settings:
Enables the custom restock behavior. When enabled, overrides the default handRestock functionality.
Note: This feature only works when handRestock from the original Tweakeroo is also enabled.
Defines the item count threshold at which restock triggers.
- Default:
32 - Behavior: Restock activates when the main hand stack count drops to this value or below.
Instead of using two separate PICKUP clicks (which can cause desync on strict servers), this mod uses QUICK_MOVE to transfer items in a single atomic operation. This reduces network overhead and improves reliability.
The restock logic:
- Checks if main hand stack is below threshold
- Searches inventory (slots 9-44) for matching items
- Executes
QUICK_MOVEto transfer items directly to hand - Handles cursor state to prevent item duplication bugs
./gradlew buildThe compiled .jar will be located in build/libs/.