Mods / Immersive Javelins 1.1.0 Unofficial Patch

Tags:
Harmony Patching Other Weapons Patch
Author:
MrFastZombie
Side:
Server
Created:
Dec 16th 2025 at 4:35 AM
Last modified:
May 27th at 10:04 PM
Downloads:
356
Latest release (for Vintage Story 1.22.0 - 1.22.2, potentially outdated):
vsimmersivejavelinspatch_2.0.1.zip  1-click install

The description below is for the 1.22 release! Check the spoiler below if you are here for the 1.21 version.

Requires Immersive Javelins 1.1.0!

If it ever updates, this patch will probably need to be updated if still needed!

This mod includes recompiled code from Immersive Javelins to make it work on 1.22, as well as patches to update texture paths. All of the code in the original mod is disabled with this mod and replaced with recompiled code, with minor changes. There is also a storage flag patch in the code to ensure bones and feathers can be placed in the offhand for the immersive crafting system from Immersive Javelins.

This mod also makes the stats for javelins customizable through a config. See the config section below for details.

In 1.22 the default damage values for javelins has been reduced to stay in line with the balanace changes to spears in vanilla.

This mod is required on both clients and servers!

 

 

I have tested this mod by trying out all possible in-world crafting mechanics from Immersive Javelins, as well as throwing them and damaging entities. I also tested the in-gui crafting just to make sure.

 

Config

"JavelinDamage": The amount of damage the fletched javelin does. For reference, stone spears do 3 damage.                             Default: 3.0
"JavelinBreakChance": The chance as a value between 0 and 1 that the fletched javelin will break upon successful impact.         Default: 0.2 (20%)
"CrudeJavelinDamage": The amount of damage the crude javelin does. For reference, stone spears do 3 damage.                      Default: 2.5
"CrudeJavelinBreakChance": The chance as a value between 0 and 1 that the crude javelin will break upon successful impact.  Default: 0.4 (40%)

 

About the storage flag patch

Mods can patch items to have "storage flags". This attribute defines what storage slots items can fit in. Wildcraft for example will set bones and feathers to have the "agriculture" slot. Unfortunately, this would normally override Immersive Javelin's storage flag for "offhand".

This patch uses code to check the storage flags for bones and feathers, and will add the "offhand" flag if it is not present. This will ensure that bones and feathers can be put in your offhand without overriding the other flags that other mods have set for these items.

If you find any mods that somehow undo this patch, let me know!

 

Credits

Arahvin for creating Immersive Javelins and releasing it under the Unlicense.

Anego Studios for creating Vintage Story, and the feather texture I've included in the 1.22 release to fix texture issues.

1.21 Description

Requires Immersive Javelins 1.1.0!

If it ever updates, this patch will probably need to be updated if still needed!

This mod fixes server crash issues with the 1.1.0 version of Immersive Javelins by using harmony patches.

This mod has 2 transpilers and 1 prefix patch.

 

This is my first time using Harmony transpilers, so please let me know if you find any issues!

 

The crashing this patch fixes only happens on servers, but the storage flag patch included will be useful for singleplayer as well! Clients do not need to have this mod when connecting to a server.

 

I have tested this mod by trying out all possible in-world crafting mechanics from Immersive Javelins, as well as throwing them and damaging entities. I also tested the in-gui crafting just to make sure.

I have not tested this with more than 1 player on the server. I do not expect issues to arise from this, but I cannot make any gurantees!

I have only tested this on 1.21.6 but it is presumed to work on all 1.21 versions at least.

 

Note: If you cannot place bones or feathers in your offhand it is most likely due to a json patch conflict with Immersive Javelins and another mod.

Known conflicts with Immersive Javelin's json patches: Wildcraft Trees (To be clear, this multiplayer patch works with mods listed here, it just won't fix the json patch conflict).

About the storage flag patch

Mods can patch items to have "storage flags". This attribute defines what storage slots items can fit in. Wildcraft for example will set bones and feathers to have the "agriculture" slot. Unfortunately, this would normally override Immersive Javelin's storage flag for "offhand".

This patch uses code to check the storage flags for bones and feathers, and will add the "offhand" flag if it is not present. This will ensure that bones and feathers can be put in your offhand without overriding the other flags that other mods have set for these items.

If you find any mods that somehow undo this patch, let me know!


This patch is released under the Unlicense!

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
2.0.1 vsimmersivejavelinspatch
1.22.0 - 1.22.2
185 Apr 29th at 8:08 PM vsimmersivejavelinspatch_2.0.1.zip 1-click install
  • Recompiled again
    • Should work on 1.22.0 and 1.22.1. Unsure about previous prereleases and release candidates.
2.0.0-rc.1 vsimmersivejavelinspatch
1.22.0-pre.1 - 1.22.0-rc.3
41 Mar 19th at 7:12 PM vsimmersivejavelinspatch_2.0.0-rc.1.zip 1-click install

1.22 Release Candidate 1

  • The mod has been renamed to "Immersive Javelins 1.1.0 Unofficial Patch" now that it has a wider scope.
  • Instead of patching parts of the Immersive Javelins code it now replaces all of the code with recompiled code with adjustments where needed.
    • The original mod is still required!
  • There is now a config that allows you to change the damage and break chances for the javelins!
  • Plenty of new null checks where they were missing.
  • There are now JSON patches for the textures, as 1.22 changed some texture paths.
  • EDIT: I forgot to mention that the default damage values for the Javelins have been reduced by 1 to reflect 1.22's spear rebalance so they don't end up being better than spears.

 

This build has a lot of big changes, so bugs are likely! Let me know if you find any.

1.1.2 vsimmersivejavelinspatch
1.21.0 - 1.21.6
72 Jan 20th at 10:29 PM vsimmersivejavelinspatch_1.1.2.zip 1-click install
  • Set it to serverside in the modinfo.json again (Forgot to set it back after trying some things)
    • Make no mistake, this mod should work fine when installed on clients and the storage flag patch will benefit singleplayer instances still.
  • Moved the Harmony initialization before the storage flag patch
    • I don't know why this matters one one server and not another, but I guess the lesson to be learned here is to initialize harmony as early as possible.
1.1.1 vsimmersivejavelinspatch
1.21.0 - 1.21.6
1 Jan 19th at 5:05 AM Release Retracted

Retraction Reason:

Critical bug: This version does not work on some servers. Version 1.1.2 should fix this issue. 

Changelog:

Important note

If you are having issues with this version not working, try using 1.0.0 instead. This version seems to have some inconsistent issue (works on my test server but not my actual server, even with the same mods). If I can't recompile a version that solves it, I'll have to move the storage flag patch to a seperate mod and retract this version.

Changes

  • Added a code patch for the "offhand" storage flag for bones and feathers
    • This will ensure that you can put them in your offhand despite other mods overriding their storage flags in most cases.
    • This does not override the storage flags, so this is unlikely to cause issues with other mods.
1.0.0 vsimmersivejavelinspatch
1.21.0 - 1.21.6
57 Dec 16th 2025 at 4:36 AM vsimmersivejavelinspatch_1.0.0.zip 1-click install

Initial release

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


1 Comment (oldest first | newest first) (threaded | flat)

snagawag, Aug 15th at 11:45 PM

Thank you for making this, enjoying it greatly early game in SP playthrough🎯