HammerCraftingMaterials — Valheim Mod
Right-click any piece in the hammer build menu to pull its required materials from nearby chests directly into your inventory.
Features
| Feature |
Detail |
| Right-click pull |
Open the hammer build menu, right-click any piece to pull its materials you are short in your inventory |
| Shift+Right-click pull |
Open the hammer build menu, shift+right-click any piece to pull all its materials regardless of what you have in your inventory |
| Smart search |
Searches all accessible chests within a configurable radius (default 10 m) |
| Partial pulls |
Pulls as much as it can find and reports what's still missing |
Requirements
- Valheim (any recent version)
- BepInEx 5.4.x for Valheim — install via Thunderstore or r2modman
Installation
Option A — r2modman / Thunderstore Mod Manager (recommended)
- Open r2modman, select your Valheim profile.
- Click Install from file and select the
HammerCraftingMaterials-1.0.0.zip package.
- Launch Valheim through the mod manager.
Option B — Manual
- Make sure BepInEx is installed in your Valheim folder.
- Copy
HammerCraftingMaterials.dll into:Valheim/BepInEx/plugins/HammerCraftingMaterials/HammerCraftingMaterials.dll
- Launch Valheim.
Configuration
Config file is auto-generated on first launch at:
Valheim/BepInEx/config/com.hammercraftingmaterials.valheim.cfg
| Key |
Default |
Description |
ChestSearchRadius |
10 |
Radius in metres to search for nearby chests |
How It Works
- Equip your hammer and open the build menu.
- Right-click any piece in the piece selection list.
- The mod:
- Checks what materials that piece requires.
- Counts what you already have in your inventory.
- Searches all nearby, accessible chests within
ChestSearchRadius metres.
- Removes only the missing materials from chests and adds them to your inventory.
- Displays a
MessageHud popup summarizing what was pulled (and what's still missing).
- (Optional Shift+Right-click ignores your inventory and removes all needed materials from chests and adds them to your inventory.)
Known Limitations
- Chests inside a ward you don't have access to are skipped.
- If your inventory is full, items that can't stack will not be pulled.
Changelog
1.0.0
- Initial release
- Right-click pull from the hammer build menu
- Configurable chest search radius
License
MIT — do whatever you want, attribution appreciated.