


MoreVanillaBuildPrefabs is a Valheim mod to make all vanilla prefabs buildable with the hammer (survival way) while allowing you to configure the requirements to build them.
This mod was inspired by MoreVanillaBuilds by Galathil and PotteryBarn by ComfyMods and the core functionality of the code is based on those two mods.
If you are using a mod manager for Thunderstore simply install the mod from there.
If you are not using a mod manager then, you need a modded instance of Valheim (BepInEx) and Jötunn plugin installed.
You need to edit the configuration file with client/server off ! If you use an in-game configuration manager, you need to restart the game/server to apply configuration.
For each detected prefab in the game you can:
The rest of the configuration files contains [xxxxxx] sections to configure each prefab. Each section contains:
A number of prefabs have default crafting requirements upon the generation of the configuration file and a subset of those are set to be enabled for building with the hammer. These configurations are based on my liking and trying to ensure that someone playing with the mod will not unlock various build pieces long before they have encountered them in the world. The default configuration also means that the mod can simply be installed and used immediately to get a sense of how it works. You are of course able to change these default configurations however you please.
The prefabs enabled by this mod were not necessarily intended to be built by players, so they may lack some of the things required to place them or build them such as proper collision or snap points.
All of the pieces that are enabled by default have been patched to have snap points or fix collision issues and ensure they can be built with similarly to existing vanilla pieces. While many other prefabs that are not enabled by default have been patched, the process of patching them is currently entirely manual so not all prefabs have been patched. This means that if you enable prefabs other than the ones enabled by default there is no guarantee they will behave nicely.
If you are having issues with a prefab you would like to build with but it won't appear when you try to place it the issue is likely due to missing colliders that have not been patched yet. A work around for some prefabs is to install either Snap Points Made Easy by MathiasDecrock or the mod Extra Snap Points Made Easy by Searica (that's me). Both of these mods allow you to manually select the snap points on the piece you are placing and the piece you are snapping to. Manually selecting the snap points can allow you to place a prefab that otherwise does not show up due to missing colliders.
TLDR: Some prefabs other than the ones enabled by default may be buggy, please adjust your expectations accordingly.
Since this mod adds more prefabs to the hammer, that means you can deconstruct more pieces. Currently the mod is designed so that when you deconstruct world-generate pieces they drop their normal item drops plus some fraction of the additional build resources added to them by this mod (if the prefab is enabled). For pieces that have been built by the player, they will only ever drop the resources used to build them.
If a prefab has been set to the CreatorShop category in the configuration then it will behave slightly differently than pieces from other categories.
Specifically, when a piece is set to the CreatorShop category player's can only deconstruct instances of that piece that they have placed themselves. This prevents player's from deconstructing world-generated prefabs like trees while still allowing you to build and deconstruct player-placed trees. If multiple player's have this mod enabled they can still only deconstruct CreatorShop pieces that they have placed themselves.
Placing armor on the Male Armor Stand and Female Armor Stand prefabs have clipping issues where not all of the armor is displayed. I have not been able to fix this as of yet.