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


Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Date uploaded 5 months ago
Version 2.0.10
Download link
Downloads 3513
Dependency string ValheimModding-Jotunn-2.0.10

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1600 icon

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

Preferred version: 5.4.1600
ValheimModding-HookGenPatcher-0.0.3 icon

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

Preferred version: 0.0.3


# Jötunn, the Valheim Library

Jötunn (/ˈjɔːtʊn/, "giant") was created with the intent to facilitate developer creativity, unify the communities problem solving efforts, and enhance developer productivity by curating a library of common helper utilities, as well as interfaces and abstractions which aid with mod interoperability. networked gameplay consistency, and remove the need to maintain valheim version specific code by acting as an interface between the developer and the games changing internals.

Jötunn is not JotunnLib is not ValheimLib

Jötunn was created as a joint effort to merge JötunnLib and ValheimLib into a single library to use the best of both worlds. It is possible to use all three libraries side by side so all current mods will continue working. But it is highly recommended to port your mod to this new library as the other two won't be actively developed anymore.


Please refer to our documentation. We have gone to great lengths to ensure there is ample documentation to facilitate the developers learning experience.


If you're using a mod installer, you can likely ignore this section

For a more in-depth installation guide, please check out the manual installation guide in our documentation.

However, here is a quick run-down:

  1. Install BepInEx
    Download BepInEx, extract everything inside BepInEx_Valheim into your Valheim folder (typically C:\<PathToYourSteamLibary>\steamapps\common\Valheim).

  2. Install MMHookGen
    This is a dependency for Jötunn. Download MMHookGen, extract the config and patchers folders into your BepInEx folder in your Valheim install.

  3. Install Jötunn Download from either Nexus/Thunderstore, extract the ZIP, and put the Jotunn.dll file inside the BepInEx\plugins folder in your Valheim install.

That's it, launch the game and mod away!
You can tell it worked by either looking at the console output, or if you see Jotunn Vx.x.x in the top-right corner of the main menu.


JVL provides three distinct groups of features. Entities, which abstract the game's own entities into easy-to-use interfaces. Managers, which act as interfaces between the entities and native collections or subsystems. Utilities, which are there to aid in generic/common functions that can span many different areas.


  • CustomItem - Represents ingame items such as weapons, tools and consumables.
  • CustomRecipe - Represents ingame recipes for managing crafting and upgrading of items.
  • CustomPiece - Represent ingame building pieces.
  • CustomStatusEffect - Represents ingame status effects from weapon hit effects to guardian powers.
  • CustomItemConversion - Represents ingame item conversions for the CookingStation, Fermenter and Smelter in one abstraction.
  • Mocks - Fake any vanilla prefab and use it in your custom assets - Jötunn resolves the references to the vanilla objects at runtime.
  • Config classes - There are many more abstractions beside the main entities which allow for easy creation of things like key bindings, custom commands, skills and more.


  • Command Manager - Facilitates implementation of methods which can be registered as executable console commands.
  • GUI Manager - Allows invocation of UI prefabs on the fly via code.
  • Input Manager - Provides an interface for binding keys via ZInput in a consistent manner, facilitating custom keybind hints.
  • Item Manager - Abstracts away implementation details of configurations applied to items/recipes to provide a consistent developer experience in adding new items. tl;dr items are easy!
  • Localization Manager - Provides multiple methods of loading localisation data into the game, as well as exposing an interface for adding additional languages to provide localizations to unsupported languages.
  • Piece Manager - Very similar to the Item Manager, abstracting implementation details of configurations for pieces/recipe's.
  • Prefab Manager - Provides a cache of prefabs registered through other managers, mostly developers will only query the cache for prefabs added via other managers.
  • Skill Manager - Facilitates additional custom skills.


  • Asset Helpers - Methods to facilitate referencing and loading of assets.
  • Bone Reorderer - Fixes bone ordering issues on SkinnedMeshRenderer's that have been ripped and imported into unity.
  • NetworkCompatibility - Allows plugins to define their own version requirements for clients connected to the server. Ensures a customisable level of interoperability with clients of differing mod configurations on a plugin-by-plugin basis.
  • Config Synchronisation - Allows administrators to adjust configuration values via an in game menu. Config setting is synced to connected clients.
  • SimpleJSON - We have imported SimpleJSON into our library at the request of developers who would simply prefer to have this dependency taken care of already. We use the MIT Licensed SimpleJSON

Bugs, Support, Contributions

Please refer to our documentation before requesting support via discord. If there are any mod interoperability issues developers experience (not just exclusive JVL issues), we would like to hear from you! If we can facilitate better mod interoperability by providing a common interface, or exposing native valheim objects, including a utility which you have created, then please feel free to create a new feature request or pull request.

Contributors to Jötunn, the Valheim Library

These people have been integral to pushing JVL out of the door, and without them we could not have achieved nearly as much. Please give them some love on github, thunderstore, and nexus.


iDeathHD#7866: github, thunderstore

Algorithman#6741: github

Jules#7950: github

Quaesar#5604: github

radu#0571: github, thunderstore, nexus

paddy#1337: github, thunderstore, nexus


Cinnabun#0451: github

GoldenJude#8965: github, nexus

zarboz#7828: github, thunderstore, nexus