You are viewing a potentially older version of this package. View all versions.
ValheimModding-ValheimLib-0.0.7 icon

ValheimLib

A library to facilitate valheim modding

Date uploaded 3 years ago
Version 0.0.7
Download link ValheimModding-ValheimLib-0.0.7.zip
Downloads 795
Dependency string ValheimModding-ValheimLib-0.0.7

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.800 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.800
ValheimModding-HookGenPatcher-0.0.2 icon
ValheimModding-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.2

README

ValheimLib - A library to facilitate valheim modding

About

ValheimLib is a modding framework for other mods to work in, providing centralized and simplified APIs for Valheim.

This helps keeping mods compatible with each other.

At it's core, ValheimLib should not change how the game behaves without any other mod installed.

Installation

The contents of ValheimLib should be extracted into the BepInEx folder, such that the ValheimLib folder in plugins in the archive is inside your plugins folder of your BepInEx installation.

Developing

Documentation will be included in the xmldocs, and further information may be on the dedicated ValheimModding wiki. Do not hestiate to ask in the modding discord too!

Changelog

0.0.7

  • FixReferences now handle enumerable of objects

0.0.6

  • Mock use generic to support all Component
  • InstantiateClone now register to znetscene if needed and tries to makes clone name unique
  • Fix the SetupVisEquipment exception in the main menu

0.0.5

  • Add Mock for CraftingStation. Better error handling for ItemDrop.IsValid

0.0.4

  • Custom item data save system : Serialization to a file in case the user play the game without having custom items installed and don't want to see them gone when installing the mods back.

0.0.3

  • Forgot to add the mmhook package dependency. Oops.

0.0.2

  • Mock system for retrieving correct UnityObject instances at runtime.

0.0.1

  • Helper for Prefab cloning
  • Helper for custom item and recipes addition.