MojoRyzen-GrabMaterials icon

GrabMaterials

Grab materials from nearby chests needed to build things out in the world, e.g. grab materials for a workbench, for portal, for a longship, for exploring (workbench, and portal), etc.

Last updated 3 days ago
Total downloads 2313
Total rating 3 
Categories Utility Building
Dependency string MojoRyzen-GrabMaterials-1.0.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.23.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.23.1

README

MojoRyzen's Grab Materials Mod

Created on January 30 2025.
Version 1.0.0 released on July 19 2025.

Quickly pull materials from nearby chests into your inventory without having to manually click on each chest. The concept is similar to mods that let you craft or build directly from containers, but for things that you're not building in your base. The typical example is workbench and portal when exploring - you're constantly having to grab 10 wood, 20 finewood, 10 greydwarf eyes, and 2 surtling cores. This mod removes that tedium.

New in version 1.0.0

  • Hit 'j' when the build menu is open to automatically grab materials for the currently selected build piece
  • Support for ten different grab packs with configurable keyboard shortcuts
  • Grab the materials for a build piece by typing '/grab portal' in the chat window
  • Grab the materials for a grab pack by typing '/grab <n>' or '/grab <pack-name>' in the chat window
  • Specify build piece names in grab pack configuration
  • Shorthand console commands, e.g. type '/g' instead of '/grab'
  • Specify the count before or after the material name, e.g. '/grab 10 wood' or '/grab wood 10'
  • Match on both the user-friendly name that you see in-game and the internal ID.
  • Case insensitive matching
  • '/listpacks' to write the list of grabpacks to the log
  • Configure how long containers are highlighted when you pull items from them or search for items
  • '/inventory [search-text]' to count the number of items within range; if search-text specifies, looks for items that match on name or category

    Fixes

  • Settings changes are now automatically picked up when you change the config file directly
  • Destroyed containers not removed from the list causing NullPointerException
  • Removed unnecessary logging

    Fix in version 1.0.1

  • Fixed a bug where it would grab 10 stone instead of 10 wood for the Chest build piece

    Join my discord server to ask questions or provide feedback.

    View the backlog here.

    See wiki for more details.