Dellarion-BuildPieceSwap icon

BuildPieceSwap

Replace compatible built pieces with the vanilla hammer. Browse with Alt + mouse wheel and apply with Alt + left-click.

Last updated 4 hours ago
Total downloads 15
Total rating 0 
Categories Mods Tweaks Tools Building AI Generated Deep North Update
Dependency string Dellarion-BuildPieceSwap-0.2.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
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.2360

README

BuildPieceSwap

BuildPieceSwap is still in development.

BuildPieceSwap lets you change built walls, floors, beams and roofs with the vanilla hammer. Replace a thatch roof with shingles or a stone block with matching black marble while keeping the piece in place.

Features

  • Choose compatible replacements from a small icon carousel beside the piece's durability bar.
  • See the selected piece's name and resource requirements before replacing it.
  • Remember your confirmed replacement choice for each piece type during the session.
  • Keep position, rotation, scale and the original builder. Replacement pieces receive full health.
  • Pay the new piece's full cost and receive the old piece's materials in your inventory.
  • Use unlocked recipes and the game's usual building access, distance and crafting station requirements.
  • Find compatible static pieces added by other mods from their building geometry and snap points.
  • Play the new piece's building sound and placement effects after a successful replacement.

How to replace a piece

Equip the vanilla hammer and aim at an existing building piece.

Control Action
Hold Alt Show compatible replacements.
Alt + mouse wheel Browse the available pieces.
Alt + left-click Apply the displayed replacement and remember the choice.
Release Alt Hide the carousel and return to normal hammer controls.

The selected piece appears first, followed by up to two more options. The wheel browses replacements without zooming the camera while Alt is held. A single Alt + left-click applies the current choice, including immediately after scrolling.

Releasing Alt discards an unconfirmed preview. Your confirmed choice remains available when you look at another piece of the same type. If an operation is refused, the text below the carousel explains the reason.

Supported building pieces

The included families cover walls, half walls, triangular roof infills, floors, blocks, straight and angled beams, poles and matching roof sections. Replacements work in both directions.

Examples include:

  • Stone blocks and floors with matching black marble pieces.
  • Thatch and shingle roof slopes, corners and ridges of the same building-grid shape.
  • The matching grausten roof slope with thatch or shingle roofs.
  • Wood floors 2x2 with ashwood floors, decorative ashwood floors or iron grates.
  • Wood floors 1x1 with ashwood floors 1x1.

Pieces must fit the same building-grid shape and compatible snap layout. Some included vanilla families allow differences in decorative thickness or extra intermediate snap points. Half-wall pivot differences are compensated so their edges stay in place.

Furniture, doors, containers and other interactive objects are excluded. Different roof angles, sizes and unsupported shapes do not appear as replacements.

Changing materials can change structural strength. Valheim recalculates support after replacement, and a weaker piece may cause neighbouring parts to collapse.

Resources and free building

In normal play, you need the target recipe, its full resource cost and any required nearby crafting station. BuildPieceSwap takes materials from your backpack first.

The old piece's materials return to your inventory after the server confirms the replacement. Leave enough room for the return. Free building follows the world's resource rules, and the no-cost cheat also makes supported locked recipes available.

Compatibility

BuildPieceSwap targets Valheim 1.0.21 and requires BepInExPack Valheim.

For multiplayer, install the same version on the server and every connected player. Their replacement catalogues must agree. Use the same building mods and piece definitions on all peers.

Mods that add building pieces

BuildPieceSwap discovers registered static building pieces without individual mod lists. Automatic matches require the same snap layout, physical shape, scale and network properties. Pieces with unknown scripts or interactive state are excluded, so some modded pieces will have no replacement options.

Mods that alter existing piece geometry, placement or ownership may affect replacement availability. Multiplayer behaviour with arbitrary mod combinations has not been verified.

Installation

Thunderstore / r2modman

Install BuildPieceSwap with r2modman or another Thunderstore-compatible mod manager. The manager installs the required BepInExPack dependency.

Manual installation

  1. Install BepInExPack Valheim.
  2. Copy BuildPieceSwap.dll into Valheim/BepInEx/plugins/BuildPieceSwap/.
  3. Start the game through BepInEx.

For a dedicated server, install the DLL in the server's matching plugins folder too. Close the game and server before updating. If you used an earlier VanillaBuildSwap build, remove its old DLL so only BuildPieceSwap is installed.

Localization

Mod messages are available in English and Russian. Building piece and resource names use Valheim's selected language.

Configuration

No user settings are added. Controls and replacement rules work as described above. Updating the mod does not require changing other mods' configuration files.

Save compatibility

Replaced pieces remain ordinary pieces in your world. Vanilla replacements stay in place after removing BuildPieceSwap. Pieces supplied by another mod still require that mod.

Let any pending replacement and resource return finish before uninstalling. If a pending operation belongs to another world, return to that world to settle it. Keep space in your inventory for returned materials.

Replacements persist through Valheim's normal saves. BuildPieceSwap does not force a world or character save after each use. A crash or forced shutdown can roll progress back to the game's last saves.

Credits and authorship

Concept, feature design, UX/UI design, visual identity/assets, testing, and project direction: Dellarion.

Code and gameplay/UI mechanics implementation: developed with ChatGPT by OpenAI, under the author's direction, iteration, testing, and final approval.

Valheim is developed by Iron Gate Studio and published by Coffee Stain Publishing. These projects are unofficial fan-made mods and are not affiliated with or endorsed by Iron Gate Studio, Coffee Stain Publishing, or OpenAI.

Other mods

ChestItemFilter icon ChestItemFilter
Assign item filters to vanilla chests, including empty ones. Search discovered items, browse categories and choose what each chest accepts.
VanillaBarrelPlus icon VanillaBarrelPlus
Adds a visual contents display to Valheim's vanilla barrel container. Supports 200+ in-game item prefabs.
VanillaInventoryPlus icon VanillaInventoryPlus
Configurable vanilla-style UI mod for Valheim that adds inventory buttons for sorting items by name, weight, and type, plus Nearby Stash for depositing items into nearby chests.
VanillaPilePlus icon VanillaPilePlus
Turns vanilla piles into 1x1 storage for their matching resources. Taking or adding items dynamically changes the pile's appearance. Uses existing build pieces and recipes.

Contact me

For bug reports, suggestions, and ideas, write to: [email protected]