Jötunn (/ˈjɔːtʊn/, "giant") Lib is a modding library for Valheim, with the goal of making the lives of mod developers easier.
Get the mod on NexusMods!
Instructions for installing and using JotunnLib as a user:
- You will first need to download BepInEx for Valheim.
Move the contents of BepInExPack_Valheim folder into<Steam Location>\steamapps\common\Valheim
.
Note: If you already have used any other mods, you likely already have this installed. - Download JotunnLib from the Releases page.
Unzip the downloaded files into
<Steam Location>\steamapps\common\Valheim\BepInEx\plugins
. - That's it! Now download some mods which use JotunnLib! :)
Currently, JotunnLib lets you create & add all of the following custom things into Valheim:
- Custom prefabs
- Custom inventory items
- Custom recipes
- Create using JSON
- Custom input buttons
- Ability to change custom keybinds in-game via settings menu
- Custom skills
- Add using JSON
- Custom localizations for current language
- Localizations for other languages
- Localizations from JSON file
- Custom piece tables (create your own variant of the Hammer, Cultivator, etc.)
- Create using JSON
- Custom pieces to existing piece tables (adding extra items to Hammer, Cultivator, etc.)
- Add using JSON
- Custom vegetation spawning in the world
- Utils for loading custom assets at runtime
- Loading 2D textures
- Loading meshes from .obj model files
- Custom commands
- Custom console commands
- Custom chat commands
- Listening to game events
- (Currently very few event listeners implemented)
- All game events
- Custom tabs for in-game settings menu
Visit our documentation site for more info.
The repository is split up into a few parts:
- Code relating to JotunnLib is in the JotunnLib folder
- Documentation source for JotunnLib is within the JotunnLib/Documentation folder
- Demo mod used as an example is in the TestMod folder
Have any issues or feature requests? Open a pull request or submit an issue!
For information about contributing to the repo, see the Contributing instructions.