WiseHorror-Veinmine icon


Allows you to mine a whole rock/ore vein by holding down a key. Progressive mode is a less OP version meant to fit in better in Vanilla

Last updated a month ago
Total downloads 16753
Total rating 8 
Categories Utility
Dependency string WiseHorror-Veinmine-1.2.5
Dependants 7 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.800 icon

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

Preferred version: 5.4.800


enter image description here Tired of mining for ages?
With Veinmine you're able to mine the whole ore/rock vein at once!
You can do this by holding down the assigned key (Left Alt by default) while mining!

Version 1.0.0 - Progressive mode added!

Please delete your previous config when updating as it might break something.

You can now enable progressive mode in the config, making it so veinmining is scaled by your Pickaxes level. This is intended to be a less OP way of veinmining, where the tradeoff is taking higher durability damage (and less xp) than if you mined manually.

The radius of the veinmined area is also scaled by your Pickaxes level.

It works by checking for rocks in a radius set by the Progressive Level Multiplier value in the config. This value is multiplied by your Pickaxes level to obtain a radius.

By default, it's set to 0.1 so assuming your Pickaxes level is 20, the radius will be 0.1 * 20 = 2.

What does 2 mean, you ask?

It's simple! A standard 2x2 floor piece has a length of 2, exactly like its name suggests.



  • Tentative fix for multiplayer veinmining by replacing the use of Player.m_localPlayer with Player.GetClosestPlayer.


  • Fixed an exception that was thrown when mining Leviathans.
  • Added veinmining support for Leviathans and Glowing Metal (Flametal Ore).


  • Fixed a bug that allowed players to veinmine (and gain exp) without a pickaxe.


  • Possible fix for ore drop quantities (Not sure why they weren't correct, as I don't change drop rates)


  • Compatibility for Hearth and Home;
  • Tentative fix for ores spawning at 0,0 (unable to test without other players)


  • Replaced 'Even' spread damage option with 'Level' as even was useless when the mined vein had a large number of sections.
  • Refactored code.


  • Fixed incompatibility with Rocky Ore mod.


  • Fixed a bug that was causing no ores to be dropped (hopefully)


  • Fixed a bug that caused ores to drop every single pickaxe swing when mining manually.


  • Fixed a bug that was causing no drops to be received when veinmining.


Please delete your previous config when updating to this version.

  • Damage text when veinmining should now display on top of each rock section
  • Veinmining when Progressive mode is disabled is now instant
  • Spread damage now has two options: Even and Distance
    • Even is the same as previous versions
    • Distance makes it so the damage dealt to a rock section is based on distance. The farther away a section is, the less damage is dealt.


  • Fixed a bug where if you had spread damage enabled, mining damage would also be reduced when mining manually.


  • Added config option for spreading damage in progressive mode (divides your mining damage equally between all rock sections affected, as opposed to doing full damage to all sections)
  • This is disabled by default.


  • Fixed incompatibility with mods that alter the pickaxe's durability drain values. The value modified by such mods (m_useDurabilityDrain) is now multiplied by the result of the previous formula (which is shown in the config). Take this into account when editing this mod's durability modifier.


  • Added config options for durability and xp multipliers for Progressive mode.


  • Durability taken is now scaled to the player's Pickaxes level when Progressive mode is enabled. This is meant to (somewhat) balance veinmining so it fits in with vanilla.
  • The formula is (120 - Level) / 20, so if you have level 50: (120 - 50) / 20 = 3.5 durability taken per rock section veinmined


  • Removed log messages to avoid spam.


  • Added Progressive mode.

  • Fixed a bug that allowed monsters to veinmine and/or give XP to the player.

  • Indestructible items no longer lose durability. (such as items from Epic Loot)
  • Added config option to disable mining visual effects, which might help reduce fps lag. (disabled by default)

  • Added config option for veinmining to take pickaxe durability for each section mined (default = true).
  • XP is now only awarded if the section mined wasn't already destroyed.
  • Fixed a NullReferenceException thrown when there were more than 128 rock sections.

  • Mining xp is now awarded for every rock section mined.

  • Initial release

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-10-24 1.2.5 2308 Version 1.2.5 Install
2021-9-25 1.2.4 2372 Version 1.2.4 Install
2021-9-21 1.2.3 1171 Version 1.2.3 Install
2021-9-21 1.2.2 98 Version 1.2.2 Install
2021-9-20 1.2.1 499 Version 1.2.1 Install
2021-4-9 1.2.0 6037 Version 1.2.0 Install
2021-4-4 1.1.9 895 Version 1.1.9 Install
2021-4-3 1.1.8 186 Version 1.1.8 Install
2021-4-1 1.1.7 523 Version 1.1.7 Install
2021-4-1 1.1.6 276 Version 1.1.6 Install
2021-3-31 1.1.5 215 Version 1.1.5 Install
2021-3-30 1.1.4 370 Version 1.1.4 Install
2021-3-30 1.1.3 62 Version 1.1.3 Install
2021-3-28 1.1.2 643 Version 1.1.2 Install
2021-3-27 1.1.1 93 Version 1.1.1 Install
2021-3-27 1.1.0 103 Version 1.1.0 Install
2021-3-27 1.0.1 303 Version 1.0.1 Install
2021-3-27 1.0.0 75 Version 1.0.0 Install
2021-3-23 0.1.4 524 Version 0.1.4 Install