Jotunn

版本 v2.30.2·更新於 2026-09-21

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 foc

截圖 共 1 張

模組介紹 作者原文

Jötunn, the Valheim Library

Jötunn (/ˈjɔːtʊn, "giant"), the Valheim Library 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. Additionally, it supplies specific 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.

This project was originally derived from the base structure of JötunnLib, and had many entity abstractions and features from ValheimLib merged into it before we proceeded with further implementations. We have lots of features planned for the future, and we hope the community has many feature requests to suggest. I hope the features we have implemented thus far prove to be a useful base and provide an idea of the consistency we aim to deliver moving forwards.

Usage

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

Installation

_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:

  • Install BepInEx:\

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

  • Install Jötunn:\

Download from either, extract the ZIP and place all content into BepInEx/plugins/Jotunn of your Valheim install.

That's it, launch the game and mod away!

Features

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.

Entities

  • CustomCreature - Represents custom animals, enemies and NPCs.
  • CustomItem - Represents ingame items such as weapons, tools and consumables.
  • CustomItemConversion - Represents ingame item conversions for the CookingStation, Fermenter, Smelter and Incinerator in one abstraction.
  • CustomLocalization - Represents custom localizations for your mod.
  • CustomLocation - Represents custom locations from simple stone circles to complete villages.
  • CustomPiece - Represent ingame building pieces.
  • CustomPieceTable - Represent ingame building tables. Support for custom categories included.
  • CustomRecipe - Represents ingame recipes for managing crafting and upgrading of items.
  • CustomStatusEffect - Represents ingame status effects from weapon hit effects to guardian powers.
  • CustomVegetation - Represents vegetation spread throughout biomes from pickables to cosmetics.
  • KitbashObject - Represents a custom object assembled from various other prefabs' components.
  • 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.

Managers

  • Command Manager - Facilitates implementation of methods which can be registered as executable console commands.
  • CreatureManager - Add new creatures or copy and modify vanilla ones.
  • 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!
  • Kitbash Manager - Create custom assets with individual pieces

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Jotunn-2.30.2.zip
檔案大小
815.6 KiB
SHA-256
8aae92da2be0eb6820cd4cf57e2f6c1d6ad0d738d4915966e7c3d7a94e9a9b0f
入庫時間
2026-10-06 19:23