DrakosDJ-PrefabHammer icon

PrefabHammer

An advanced tool to save, name, manage, and build custom multi-piece structures in Valheim using manual green pulsating highlights or radius selections.

CHANGELOG

Changelog

v1.0.4

  • Fixed issues with the new Prefab tab not appearing correctly and some weird interactions with other mods that added new tabs to the build hammer menu.

v1.0.3

  • Added Dedicated Build Tab ("Prefab"): All your custom saved structures will now be loaded under the category tab defined in the configuration (defaults to the new dedicated "Prefab" tab).
  • Update Notice: If you are updating from a prior version, your existing configuration file may still point to "Misc". If you wish to use the new dedicated tab to store and organize your designs, please change the BuildCategory setting in your configuration file (com.prefabhammer.cfg) to "Prefab".
  • PieceTable Sizing: Implemented runtime memory array expansion for PieceTable to handle the new category index safely without crashes.
  • Improved UI Integration: Integrated with the vanilla category navigation so players can cycle to and click the new "Prefab" tab naturally.

v1.0.2

  • Fixed Saving & Persistence: Refactored the spawner instantiation path to use standard Unity instantiation. Placed custom prefabs now naturally register their ZDOs as persistent, meaning they save and load correctly when logging out and back in.
  • Fixed Build Sound & Particle Effects: Added code to copy the placement effects (m_placeEffect) from the first sub-piece to the custom composite piece. placing a custom prefab now plays the hammer hits and wood/stone dust particles.
  • Fixed Mod Icon Validation: Converted the mod icon to a true 256x256 PNG format, resolving the Thunderstore validation error.
  • Naming Migration: Completed full name migration from ModularHammer to PrefabHammer internally and externally.

v1.0.0

  • Initial release of PrefabHammer.
  • Support saving, naming, and building custom multi-piece structures in Valheim.
  • Pulsating direct-cloned green selection outlines conforming to piece shape.
  • Library dashboard to manage and delete custom prefabs with instant Valheim build menu refresh.