Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
NearbyCrafting
Craft items using materials stored in nearby player-built containers. Updated for Valheim 1.0.
By IPA38
| Date uploaded | 2 weeks ago |
| Version | 1.0.3 |
| Download link | IPA38-NearbyCrafting-1.0.3.zip |
| Downloads | 55 |
| Dependency string | IPA38-NearbyCrafting-1.0.3 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350README
Nearby Crafting
Craft items using materials stored in nearby containers.
Built for Valheim 1.0+.
Features
- Craft using materials from nearby player-built containers.
- Uses materials from your inventory first, then nearby storage.
- Crafting requirements correctly display materials available in nearby storage.
- Configurable container range.
- World loot containers are ignored by default.
- Carts and ships are ignored by default.
- Optional debug logging.
Installation
Mod Manager
Install Nearby Crafting through Thunderstore Mod Manager or r2modman.
BepInEx is required.
Manual Installation
-
Install BepInEx for Valheim.
-
Download Nearby Crafting.
-
Place
NearbyCrafting.dllin:Valheim/BepInEx/plugins/NearbyCrafting/ -
Launch Valheim through BepInEx.
The configuration file will be created automatically after the first launch.
Configuration
Configuration file:
BepInEx/config/com.mikeg.valheim.nearbycrafting.cfg
The default container range is 20 meters.
Debugging
Debug logging can be enabled in the configuration file:
DebugLogging = true
For detailed container scanning:
DebugContainerDetails = true
Debug information will be written to the BepInEx log.
Compatibility
Designed for Valheim 1.0+.
Nearby Crafting currently affects normal crafting recipes.
It does not pull materials for building, smelters, kilns, fires, carts, or ships.
CHANGELOG
Changelog
1.2.1
- Corrected the internal BepInEx plugin version to
1.2.1. - Added an in-game HUD confirmation showing how many items were deposited and how many chests received items.
- Added a
nothing to depositHUD message when the hotkey finds no transferable items. - Reworked Mass Quick Deposit to avoid repeated
Inventory.StackAllcalls across nearby chests. - Fixed
Trying to add item to occupied slot -1, -1errors seen during mass deposit. - Uses explicit, valid inventory slots with
Inventory.MoveItemToThisfor every transfer. - Preserves quick-deposit behavior: an item is deposited only into a chest that already contained a compatible stack when that chest is processed.
- Added conservative stack matching for item name, quality, variant, world level, and custom data.
- Explicit anti-duplication behavior: quantities are moved from the live player stack and the remaining amount is re-checked before every subsequent transfer.
1.2.0
- Added configurable Mass Quick Deposit hotkey.
- Added independent
Quick Deposit > Enabledtoggle. - Default quick-deposit hotkey is
F6. - Mass quick-deposit processes all eligible nearby containers nearest-first using Valheim's native
Inventory.StackAlltransfer semantics. - Uses the same container range, player-built-container filtering, moving-container filtering, and Balrond compatibility rules as Nearby Crafting.
- Designed to prevent duplication: items are moved directly out of the player's inventory, never copied or cloned. Later chests can only receive remaining quantities.
1.1.4
- Fixed Valheim 1.0 conditional/upgrader requirements blocking nearby resource consumption after a recipe successfully passed availability checks.
- Resource payment follows the exact requirement names Valheim queried for the current recipe and quality.
- Fixed recipes such as Bronze Pickaxe and Stone Axe when required materials are stored in nearby chests.
1.1.3
- Changed recipe availability checks to let Valheim run its native requirement logic while Nearby Crafting augments inventory counts with eligible nearby storage.
1.1.2
- Restored compatibility handling for custom storage prefab layouts where
ContainerandPieceare siblings under the same prefab root. - Added soft BalrondConstructions compatibility/order handling.