Skip to content

Releases: Valheim-Modding/Jotunn

v2.20.1

26 May 17:09
6d913d7
Compare
Choose a tag to compare

Changes:

  • Fixed an error when cloning an item with an existing ExtEquipment
  • Changed prebuild to reference Mono.Cecil from the BepInEx folder to avoid version conflicts
  • Changed internal ItemManager.Items to be a dictionary
  • Removed unnecessary debug logging from AssetManager

v2.20.0

14 May 12:56
43924ee
Compare
Choose a tag to compare

Changes:

  • Fixed for Valheim 0.218.15 (Ashlands), older Valheim versions may not work properly
  • Added HeavyBuild to PieceCategories
  • Fixed internal renaming of the Building piece category
  • Fixed positioning and size of hammer categories
  • Fixed warnings about mock ParticleSystem dictionaries
  • Fixed CreatureManager.OnCreaturesRegistered was not invoked if no custom creatures were added

Note: This is a minor version update. This means that server and client need to run version 2.20.0 or higher

v2.19.4

05 May 15:21
aa247f3
Compare
Choose a tag to compare

Changes:

  • Fixed errors when loading prefabs when running with Krumpac's Reforged (thx probablykory)
  • Fixed prebuild publicizer could create ambiguous events
  • Fixed prebuild publicizer to include an assembly hash to detect if it has changed
  • Changed references to be copied to the build output folder when compiling a mod that uses JotunnLib.props
  • Simplified vanilla category count lookup

v2.19.3

24 Apr 14:41
652053b
Compare
Choose a tag to compare

Changes:

  • Fixed piece categories to dynamically find the vanilla category count
  • Fixed clear area of locations was not applied since changes in Valheim 0.217.43
  • Fixed mock resolve of components on GameObjects, like workstations in recipes
  • Marked LocationConfig.Location as deprecated because the association is never valid

v2.19.2

14 Apr 20:34
2332a02
Compare
Choose a tag to compare

Changes:

  • Changed PrefabManager.Cache to prefer SoftReferences over searching loaded assets, in order to be more reliable future proof. This especially affects (directly mocked) Meshes, please see the Mesh List and update your mocks from the Internal Name to the SoftReference Name
  • Fixed item variants were not correctly applied when the item was added in Awake/Start
  • Fixed a potential error when calling PrefabManager.Cache.GetPrefab for an invalid Mesh

v2.19.1

11 Apr 19:37
7efd4d4
Compare
Choose a tag to compare

Changes:

  • Fixed an issue where the game would load infinitely
  • Fixed mocks were not being resolved if the assets are only used in locations
  • Fixed mock meshes not being resolved correctly in some cases
  • Fixed an error when modded prefabs are cloned before the vanilla asset system is ready
  • Fixed assemblies being referenced that are no longer shipped

v2.19.0

10 Apr 21:15
d50a5d7
Compare
Choose a tag to compare

Changes:

  • Fixed for Valheim 0.217.46, not working with older Valheim versions
  • Added AssetManager for direct interactions with the new SoftReference system. Existing entities and mocks are already handled implicitly

Note: This is a minor version update. This means that server and client need to run version 2.19.0

v2.18.2

03 Apr 19:30
431dc1c
Compare
Choose a tag to compare

Changes:

  • Fixed more cases where components were not correctly removed in the RenderManager (thx bid)

v2.18.1

19 Mar 19:49
a1161c1
Compare
Choose a tag to compare

Changes:

  • Fixed errors about failing to remove components in the RenderManager, which could occur in specific inheritance edge cases
  • Fixed mouse buttons from configs were not converted to the new input system
  • Fixed button config changes did not update the button at runtime in singleplayer

v2.18.0

15 Mar 20:02
6342867
Compare
Choose a tag to compare

Changes:

  • Added GameObject mocking, i.e. objects in the hierarchy with the JVLmock_ prefix will be swapped with the real object
  • Added non-enforced mods to version check messages, so changed enforcement across mod versions can be detected and applied on the server
  • Added rendering of particle effects to the RenderManager (thx bid)
  • Added RenderManager.RenderRequest.ParticleSimulationTime to control the time of the particle simulation (thx bid)
  • Added events to ZoneManager: OnLocationsRegistered, OnClutterRegistered, OnVanillaVegetationAvailable and OnVegetationRegistered

Note: This is a minor version update. This means that server and client need to run version 2.18.0