About HereComesTheVein
From ThunderstoreMined copper ore and obsidian have a 20% chance to become iron ore, and obsidian veins can drop bonus iron; mined stone can become a Surtling Core (1%), coal (10%) or tin ore (5%).
HereComesTheVein
> I use AI to review code and assist with optimization and integrity; I manually test and review every mod, and all decisions and code remain my own.
Current release: 1.2.2
A lightweight Valheim mod by R4V9N1.
HereComesTheVein keeps vanilla copper veins unchanged and gives each generated CopperOre drop an independent 20% chance to become IronOre instead. The remaining 80% stay CopperOre.
Obsidian veins work the same way: each Obsidian dropped by a mined obsidian vein has an independent 20% chance to become IronOre instead. On top of that, each destroyed obsidian vein has a 20% chance to drop 1-3 extra IronOre.
Mining stone works the same way: each Stone dropped by a mined rock has a 1% chance to become a Surtling Core, a 10% chance to become Coal and a 5% chance to become Tin Ore instead.
Behaviour
- Copper vein prefab and world-generation identity remain vanilla.
- Valheim generates the normal mining drop list first, including its normal quantities, drop chances, and resource scaling.
- Each final
CopperOreresult fromMineRock/MineRock5mining receives one independent roll: 20% becomesIronOre, 80% remainsCopperOre. - Replacement is one-for-one, so the total number of ore drops is unchanged; only the obsidian vein bonus adds drops.
- Each final
Obsidianresult from a mined obsidian vein (MineRock_Obsidian) receives one independent roll: 20% becomesIronOre, 80% remainsObsidian. Obsidian vein prefab and world-generation identity remain vanilla. - Each destroyed obsidian vein also receives one bonus roll: 20% chance to add 1-3 extra
IronOreto its drops (the bonus ore is not re-rolled and is not scaled by the world resource rate). - Each final
Stoneresult fromMineRock/MineRock5mining receives one independent roll: 1% becomesSurtlingCore, 10% becomesCoal, 5% becomesTinOre, 84% remainsStone. - Mining drops that are not
CopperOre,ObsidianorStoneremain unchanged. Obsidian from other sources (for example the small obsidian crystals in mountain caves) is not changed. - Unrelated
DropTableusers are not modified. - IronOre does not depend on Elder defeat, trophies, altar state, guardian-power activation, special vein selection, or a special texture.
- Existing worlds are supported because the mod does not regenerate or rewrite world-generation data.
Multiplayer
Install the mod on the server/host and on every client for a matching setup. Valheim's owner-side mining RPC path remains authoritative for generated drops.
Requirements
- Valheim
- BepInExPack Valheim
Manual installation
Copy HereComesTheVein.dll into:
Valheim\BepInEx\plugins\HereComesTheVein\
Removal
Removing the DLL stops the runtime substitution. The mod does not rewrite vanilla copper-prefab identities or persist custom vein state in world data.
Technical approach
The plugin brackets the current owner-side MineRock.RPC_Hit(long, HitData, int) and MineRock5.DamageArea(int, HitData) mining paths and scopes conversion to their exact m_dropItems DropTable. Obsidian veins are not MineRock objects; for them it brackets DropOnDestroyed.OnDestroyed() on MineRock_Obsidian only and scopes conversion to that vein's m_dropWhenDestroyed DropTable; after conversion it rolls the vein's single 20% bonus and appends 1-3 IronOre to that drop list. It patches only the public parameterless DropTable.GetDropList() result. Valheim generates the final list first; the mod then independently replaces each CopperOre and obsidian-vein Obsidian entry with IronOre at a 20% probability, and each Stone entry with SurtlingCore (1%), Coal (10%) or TinOre (5%).
Highlights
From source dataLoaders
Runs on BepInEx.
Footprint
Rated a light load on a server.
Last update
Its author last shipped an update 36d ago.
HereComesTheVein on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
- Server side
- Optional on the server
- Server type needed
- BepInEx
- Server load
- light
- Smallest plan we suggest
- Valheim — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 1.2.2, released 2026-10-16
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| BepInEx |
From 6 recorded builds of HereComesTheVein.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 1.2.2 | 2026-10-16 | n/a | BepInEx |
| 1.2.1 | 2026-10-15 | n/a | BepInEx |
| 1.2.0 | 2026-10-07 | n/a | BepInEx |
| 1.1.0 | 2026-10-05 | n/a | BepInEx |
| 1.0.3 | 2026-10-05 | n/a | BepInEx |
| 1.0.2 | 2026-09-19 | n/a | BepInEx |
Dependencies
- Required: BepInExPack Valheim
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run HereComesTheVein on a Valheim server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogWorld generation
Changes or adds to how new terrain, biomes and structures are created.
Works on a server
From source side supportThunderstore lists server-side support for HereComesTheVein as optional: it can run on a server, but isn’t required there.
Compatibility
- Game
- Valheim
- Loaders
- BepInEx
- Runs on
- Serveroptional on the server
- Requires
- One-click install needs a BepInEx server.
Verified at the source
- ✓ThunderstoreOfficial listing, checked 2026-10-17Open ↗
- ✓AuthorTerramods, as published on Thunderstore
- ✓LicenseNot published by the sourceFree






