Mods / Brain Freeze

Tags: #Food #QoL #Tweak
Author: TheInsanityGod
Side: Both
Created: Jan 4th at 7:12 PM
Last modified: Nov 23rd at 2:46 PM
Downloads: 6886
Follow Unfollow 236

Latest release (for Vintage Story 1.21.4, potentially outdated):
brainfreeze_1.3.5.zip  1-click install


Requires:


Current Features:

  1. Frozen liquids (that freeze based on temperature)
  2. Ice Cubes (and yes they are edible)
  3. Reworked snow so it melts based on temperature and is edible (mostly usefull for HydrateOrDiedrate)
  4. Freezing penalties are now more severe (speed penalty and increased damage)

Planned Features:

  1. extending HydrateOrDieDrate rain collection so it can collect snow in winter
  2. Creating Ice based foods
  3. Redoing how water blocks freezes into ice (so it doesn't end up looking like swiss cheese)
  4. Changing how wettness affects player when cold

Compatibility:

  1. Hydrate or Diedrate

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.3.5 201 Nov 23rd at 2:46 PM brainfreeze_1.3.5.zip 1-click install

Move texture fixing logic to client to prevent issue with certain servers.

1.3.4 298 Nov 11th at 4:22 PM brainfreeze_1.3.4.zip 1-click install

You can now also extract ice cubes from bowls placed on the ground

1.3.3 267 Nov 4th at 4:20 PM brainfreeze_1.3.3.zip 1-click install
  • automatic frozen texture overlay now also supports 24x24 textures
  • frozen liquids will now look more frozen in barrels and buckets (no more wavy ice -_-)
  • rework language string to allow for better mutation of grammer when translating
1.3.2 237 Nov 1st at 2:15 PM brainfreeze_1.3.2.zip 1-click install
  • fixed snow not having correct hydration after HoD recipe generator update (execution order changed)
  • improved "without frozen part" method so it should no longer fail on variant states containing the variant group seperator '-', *Cough* floralzones.
1.3.1 501 Oct 5th at 10:29 AM brainfreeze_1.3.1.zip 1-click install

Fix some variant registration issues

1.3.0 608 Sep 22nd at 3:07 PM brainfreeze_1.3.0.zip 1-click install
  • now supports multi variant items
  • will now remap with original items (so it should survive item remaps like HoD is about to do)
1.2.3 255 Sep 18th at 5:50 PM brainfreeze_1.2.3.zip 1-click install

Added extra logging and error handling.

1.2.2 437 Sep 2nd at 9:24 PM brainfreeze_1.2.2.zip 1-click install
  • .net8 upgrade and some code cleanup
  • Fixed hydrate or diedrate method call

 

1.2.1 739 May 3rd at 7:50 PM brainfreeze_1.2.1.zip 1-click install

Fixed crash when attempting to chisel the sky.

1.2.0 129 Apr 30th at 6:49 PM brainfreeze_1.2.0.zip 1-click install

Migrate to new/improved library
(which also includes a fix for the wine spoiling as soon as it's made issue)

1.1.1 838 Mar 11th at 3:18 PM brainfreeze_1.1.1.zip 1-click install

Fixed potential edge case related to handling of invalid positions (you probably won't need this, but it stops my mod from freezing up the game when some other mod or a vanilla bug causes an invalid position)

1.1.0 1017 Jan 28th at 6:19 PM brainfreeze_1.1.0.zip 1-click install
  • Reworked snow melting
  • Snow is now edible (mostly usefull for when you have HydrateOrDiedrate)
  • Freezing penalties are now more sever (speed penalty and increased damage)
1.0.4 373 Jan 20th at 5:39 PM brainfreeze_1.0.4.zip 1-click install

HydrateOrDieDrate changed namespace... and so I have no choice but to follow lol

1.0.3 219 Jan 19th at 1:39 PM brainfreeze_1.0.3.zip 1-click install
  • Calculation fix (for ice cubes melting)
  • Implemented similar fix as in WearAndTear (for unexpected AppDomain behavior)
1.0.2 323 Jan 14th at 10:19 AM brainfreeze_1.0.2.zip 1-click install
  • some minor code changes
  • some null handling (because of xskills issue)
1.0.1 256 Jan 4th at 7:32 PM BrainFreeze_1.0.1.zip 1-click install

Fixed water texture not getting directly replaced with ice but instead also getting blended texture.

1.0.0 188 Jan 4th at 7:14 PM BrainFreeze_1.0.0.zip 1-click install

The first release!


81 Comments (oldest first | newest first)

💬 Lethalyn, 1 day ago

CarryOn I did not know about, thank you! This greatly improves my gaming experience with your mod. :)

 

Have a good day!

💬 TheInsanityGod , 1 day ago

Lethalyn

  1. Wait for the outside temperature to rise.
  2. Extract it as ice cubes (with chisel and hammer) and move it inside like that.
  3. If you have Carry On you could just move the barrel inside directly
  4. Or you could just build a room arround the barrel.

 

PS: putting a fire next to a barrel of frozen liquid outside in the cold wouldn't realistically work very well

💬 Lethalyn, 1 day ago (modified 1 day ago)

So ... how can I "unfreeze" my barrel liquids, please?^^ I tried putting a fire right next to the barrel, yet to no avail. I have some tanins and stuff out, which I want to put inside my house without losing all the liquid. (Limewater is esentially non existant so every bit counts.)

💬 TheInsanityGod , 3 days ago

Levion, it's not intentional I just never wrote any code/logic for meals.

💬 Levion, 3 days ago (modified 3 days ago)

Currently using 1.3.5, frozen meals (soups) in bowls don't have a texture for the liquid, and you can pull a frozen meal out of a crock into a bowl, while you Can't pull a frozen liquid out of a barrel into a bucket. Dunno if that's intentional, but I figured I'd mention it :P

I am using Expanded Foods despite it being experimental- the liquid of the meal is meat broth. Is understandable if that's something that won't be fixed until expanded foods isn't experimental anymore.

💬 TheInsanityGod , Nov 23rd at 2:48 PM

Mafroz, should be resolved in the new update.

💬 TheInsanityGod , Nov 23rd at 12:15 PM

Psyloh, preferrably on either the official vintage story discord server (and then mods > Brain Freeze) or on the issue tracker on github.

💬 Psyloh, Nov 23rd at 8:28 AM

Through a week,I never saw a liquid not stating "meltable" or a frozen container not saying "x% frozen" until it finally melts...
Where could I reach up to you for screenshots and logs?

💬 TheInsanityGod , Nov 22nd at 1:37 PM

Psyloh, I haven't. Please check if it's a 1 time thing or a persistent issue and provide the server-main and client-main log file (located at `%appdata%\VintagestoryData\Logs`) so I can see if anything wen't wrong (and so I can check the mod list for any potential mod conflicts)

💬 Psyloh, Nov 22nd at 1:19 PM (modified Nov 22nd at 1:20 PM)

Hey!
Why did you swap "melt" and "freeze"..? Frozen stuff says "will freeze" and liquid stuff says "will melt"...

💬 TheInsanityGod , Nov 14th at 1:57 PM

Mafroz those paths are part of the stacktrace, they point to where the error would be in the original uncompiled code. (meaning they point to where I'm supposed to look on my device to find out what failed)

I'll look into it.

💬 Mafroz, Nov 14th at 12:51 PM

Hi! I'm catching too many errors with strange paths in the logs. The mod is installed on a linux server, so there can't be any windows paths.

Spoiler
[Error] [brainfreeze] [game] Error during finalizing of frozen variant 'curdledmilkportion-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'milkportion-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-apple-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-mead-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-rice-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-rye-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-amaranth-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-cassava-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-blueberry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-cranberry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-redcurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-whitecurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-blackcurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-saguaro-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-pineapple-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-cherry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-peach-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-pear-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-orange-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-mango-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-breadfruit-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-lychee-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'ciderportion-pomegranate-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-blue-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-red-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-yellow-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-purple-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-woad-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-green-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-orange-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-black-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-gray-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-pink-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-white-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'dye-brown-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-apple-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-blueberry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-cranberry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-redcurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-whitecurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-blackcurrant-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-saguaro-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-pineapple-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-cherry-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-peach-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-pear-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-orange-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-mango-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-breadfruit-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-lychee-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'juiceportion-pomegranate-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'strongtanninportion-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'vinegarportion-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 221
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.TryFinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\DynamicFrozenVariant.cs:line 119
14.11.2025 15:36:12 [Error] [brainfreeze] [game] Error during finalizing of frozen variant 'weaktanninportion-brainfreeze': System.NullReferenceException: Object reference not set to an instance of an object.
at BrainFreeze.Code.Util.CheckTextureSize(IAssetManager assetManager, AssetLocation textureLocation) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Util.cs:line 52 <.....>
ETC.....
💬 TheInsanityGod , Nov 13th at 5:33 PM

Psyloh, you can use a chisel (with hammer) on it when placed down to extract the ice as ice cubes. To melt stuff either put it inside a room or put it in a campfire.

Hydromancerx, it's already on the planned features list :P

💬 Psyloh, Nov 13th at 1:03 PM (modified Nov 13th at 1:03 PM)

Hey!
How are we supposed to get frozen stuff out of buckets? And how do we keep liquids in barrels? Or melt them back when frozen..? I live in the North...

💬 Hydromancerx, Nov 12th at 2:34 AM

Can you add recipes for shaved ice and other ice based foods?

💬 TheInsanityGod , Nov 11th at 4:29 PM (modified Nov 11th at 4:29 PM)

StubTailDstroyer, hydration on snow was broken for a bit yeah (HoD recipe generator update broke it due to load order change) fixed in BrainFreeze 1.3.2, also you can now get frozen water out of bowls the same way (and make some ice cubes).

💬 StubTailDstroyer, Nov 10th at 12:52 PM

TheInsanityGod

Ah, that worked once I tried with a bucket. I guess that also answers the question of how to get frozen water out of a barrel.

As for snow, I definitely just missed the tooltip, but I was also confused because I couldn't find a hydration bonus for eating snowballs or slush, so I didn't get what the point was if they just decreased saturation. Thankfully whatever issue I had seemed to have been fixed after updating, and they now properly provide hydration.

💬 TheInsanityGod , Nov 4th at 4:23 PM

Zsuatem, changed it in the new release.

💬 Zsuatem, Nov 1st at 8:27 PM

TheInsanityGod

Is it possible to modify the phrase "frozen": "Frozen" to use a placeholder, for example "frozen": "Frozen {0}", so that in other languages the order or structure can be adjusted more easily?

For example, in Polish, since nouns have grammatical gender, it looks a bit odd when "Frozen" is translated as "Zamarznięty" (which is neuter) but it refers to beer, which is masculine. It would be better if we could change it to something like "frozen": "{0} (zamarznięte)", which still isn’t perfectly correct but looks more natural. 😄

💬 Damonicus1986, Nov 1st at 2:50 PM

can confirm no errors :D

💬 TheInsanityGod , Nov 1st at 2:15 PM

Damonicus1986, should work normally with floral zones now.

💬 Damonicus1986, Oct 31st at 1:41 PM

pls add comp. patch with floraz zones 

31.10.2025 12:38:09 [Warning] [BrainFreeze] Could not find floralzonesmediterraneanregion:ciderportion-vitisvinifera-brainfreeze for auto frozen variant registry
31.10.2025 12:38:09 [Warning] [BrainFreeze] Could not find floralzonesmediterraneanregion:ciderportion-vitisvinifera-brainfreeze for auto frozen variant registry
31.10.2025 12:38:09 [Warning] [BrainFreeze] Could not find floralzonesmediterraneanregion:juiceportion-vitisvinifera-brainfreeze for auto frozen variant registry
31.10.2025 12:38:09 [Warning] [BrainFreeze] Could not find floralzonesmediterraneanregion:juiceportion-vitisvinifera-brainfreeze for auto frozen variant registry

💬 TheInsanityGod , Oct 30th at 11:35 AM

StubTailDstroyer, It's the exact same action as trying to chisel a block but it has to be done on a liquid container block with an open top aka a bucket or a barrel. I'll look into ways for it to be done with bowls (not jugs though, that's unrealstic considering the way too small opening)

As for eating snow, you need to crouch. which it should say unless you disabled the 'Block interaction help' (CTRL + N)

💬 StubTailDstroyer, Oct 30th at 2:41 AM

Hello, could you please explain how to obtain the ice cubes?

I have a jug and a bowl with frozen water, and I've tried both putting them in the crafting grid with a chisel as well as holding right click on the placed item with the chisel. I've tried both with and without the hammer, as well as attempting to empty the containers by Ctrl + Right clicking, and nothing has worked.

 

Also, how do you eat snow? I notice that the snowballs melt now (if they didn't before), but I have not discovered any way to eat them or to eat snow in general.

 

💬 TheInsanityGod , Oct 5th at 10:38 AM (modified Oct 5th at 10:39 AM)

El_Neuman, currently it will melt under the following circumstances:

  1. If it becomes warmer then the freezing point (this can differ between liquids).
  2. If it is in a room (you can check using '/debug rooms hi' and '/debug rooms unhi').
  3. If it's directly on a heat source, like inside a firepit slot (Torches btw are not considered heat sources by the game).

 

It not just melting while near a heat source is intentional (wouldn't be that effective realistically anyway unless in an enclosed space).

As for "but there are a few features I feel are missing", I would like to correct you: there are still a lot of planned features missing, some of which are even listed on this page (too many plans and ideas, too little time)

💬 El_Neuman, Oct 4th at 9:05 PM (modified Oct 4th at 9:06 PM)

Hi! I love your mod — it adds so much realism and variety.
However, I’ve noticed that it’s impossible to melt frozen liquids once they’ve solidified in barrels, no matter what kind of liquid it is. The same issue happens with buckets — the ice inside doesn’t melt either.
Is this intended behavior, or could it be a bug? It would be great if thawing worked properly near heat sources or when the temperature rises.

Thank you for your work on this mod!

Spoiler!
💬 El_Neuman, Sep 29th at 11:10 AM

Hi! I really love your mod, but there are a few features I feel are missing.
It would be great if you could warm up by approaching torches or holding them in your hand.
Also, it would be awesome if a torch or a campfire could speed up the melting of liquid in a bucket when it’s placed nearby.

💬 TheInsanityGod , Sep 18th at 4:28 PM (modified Sep 18th at 5:53 PM)

falloutderg, highly unlikely that those config changes had anything to do with this error.
(Looking at the stacktrace it's crashing on a liquid that has defined "waterTightContainerProps" but not defined any texture in it.)

I'll see about adding some extra logging and error handling.

 

Update: new verson won't fix your issue, but it should make it not so fatal and allow you to see what item / other mod it's having issues with.

💬 falloutderg, Sep 18th at 2:23 AM (modified Sep 18th at 2:39 AM)

1.21.1: I don't know what happened here. I increased the expiration values for the hydration diedration for water in that config file, and then the Brain Freeze mod began throwing errors. Changing things back didn't fix it. I don't know much, but here's the crash report:

Crash Report
17.9.2025 21:00:47 [Server Error] [brainfreeze] An exception was thrown when trying to start the mod:
17.9.2025 21:00:47 [Server Error] [brainfreeze] Exception: Object reference not set to an instance of an object.
at BrainFreeze.Code.HarmonyPatches.DynamicRegistry.DynamicFrozenVariant.FinalizeFrozenCollectible(ICoreAPI api, Item frozenItem) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\HarmonyPatches\DynamicRegistry\Dynamic FrozenVariant.cs:line 17
6
at BrainFreeze.Code.BrainFreezeModSystem.AssetsFinalize(ICoreAPI api) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\BrainFreezeModSystem.cs:line 30
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 670
17.9.2025 21:00:47 [Server Error] Failed to run mod phase AssetsFinalize for mod BrainFreeze.Code.BrainFreezeModSystem

image

💬 Sianks, Sep 7th at 1:15 PM

Can you add feature for Ice Cubes to extend food freshness when placed in storage together?

💬 Ikaahi, Sep 2nd at 9:49 PM

how wonderfully convenient <- keeps dying of dehydration in an arctic spawn

💬 TheInsanityGod , Sep 2nd at 9:26 PM

(Should now also be fixed in new release for 1.21)

💬 TheInsanityGod , Aug 28th at 4:28 PM

Atheliana, that should actually be relatively safe to ignore, just means that snow won't give you the correct hydration.

It's the final step in AssetsFinalize where it's trying to change the SnowHydration, which I probably broke while working on HoD, I'll look into it when I have time.

💬 Atheliana, Aug 28th at 11:55 AM

I'm getting this error starting my world:

 

Startup Log
28.8.2025 12:06:01 [Error] [brainfreeze] An exception was thrown when trying to start the mod:
28.8.2025 12:06:01 [Error] [brainfreeze] Exception: Method not found: 'Void HydrateOrDiedrate.HydrationManager.SetHydration(Vintagestory.API.Common.ICoreAPI, Vintagestory.API.Common.CollectibleObject, Single)'.
at BrainFreeze.Code.Compatibility.HydrateOrDiedrateCompatibility.FixSnow(ICoreAPI api)
at BrainFreeze.Code.BrainFreezeModSystem.AssetsFinalize(ICoreAPI api) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\BrainFreezeModSystem.cs:line 45
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 661
28.8.2025 12:06:01 [Error] Failed to run mod phase AssetsFinalize for mod BrainFreeze.Code.BrainFreezeModSystem

 

It would be lovely to know whether it is safe to ignore or not. 

💬 traugdor, Aug 11th at 3:18 AM (modified Aug 11th at 3:46 AM)

This mod had a conflict with Expanded Stomach mod I made. I just added a patcher so that the two work together. Looks like we were transpiling the same TryEatStop method... haha.

My latest update makes my mod work with yours now.

💬 TheInsanityGod , May 4th at 9:11 PM

oneil, are you talking about "Hardcore Water : Transport Edition"? if so no, those are actual water blocks.

💬 oneil, May 4th at 8:16 PM

quick question : does the aqueduc of the aqueduc mod freeze ? thanks :3 

💬 TheInsanityGod , May 3rd at 7:51 PM

Thanks for reporting the issue B0YAR, fixed in new release.


Had nothing to do with "Toolsmith" btw, not sure how no one noticed this until now (inlcuding myself) but apperently I was missing a null check on the blockselector which causes it to throw when aiming at the sky.

💬 B0YAR, May 3rd at 12:09 PM

v1.20.9

The
mod conflicts with the "Toolsmith" mod by throwing the client off the server with an error when trying use whetstone to sharpen the chisel. Please add compability.

3.5.2025 14:50:08 [Error] Exception: Object reference not set to an instance of an object.
at BrainFreeze.Code.Behaviors.IceBreakerTool.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handHandling, EnumHandling& handling) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Behaviors\IceBreakerTool.cs:line 19
at Vintagestory.API.Common.CollectibleObject.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1291
at Vintagestory.GameContent.ItemChisel.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in VSSurvivalMod\Item\ItemChisel.cs:line 189
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\Inventory.cs:line 255
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 238
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 957

💬 TheInsanityGod , Apr 25th at 5:34 PM

Whiteshadoh, You'd want to to change "FreezingDamage".

"SuperBrainFreeze" has nothing to do with the freezing damage... it disables registration limits, meaning it will try to make every liquid freez-able (I know I'm the one who put it in there but I would not recommend touching it)

Config is currently only documented in the code (and in ConfigLib if you use AutoConfigLib I suppose), once I'm done with my new/expanded library it will also be inside the actual config file

💬 Whiteshadoh, Apr 25th at 4:41 PM

TheInsanityGod
When enabling
"SuperBrainFreeze": true,
game will crash and refuses to load.
1.20.7 no mods besides vanilla core and brain_freeze (+) custom_transistion_library

only thing i was interested in the increasing the freezing tick damage but that seems to be busted atm unless the true flag is wrong?

💬 Viktoria, Apr 22nd at 7:48 AM

Seconding wine spoilage.

💬 Okayeg, Apr 18th at 7:57 AM

idk if it's just me but every time I try to make wine or beer it starts to spoil right after it's done

💬 xCoiotex, Apr 2nd at 3:30 AM

i'll download this to test, but i need to finish mah soups first to make a new batch

💬 TheInsanityGod , Apr 1st at 9:17 PM

MrTango, xCoiotex.

Sadly this is a more complicated issue with the underlying nature of how vanilla treats transitions on meals. I've managed to somewhat duct tape this in the update of the Custom Transition Library (Sadly this is an issue during creation of the item, so I can't fix existing items)

💬 MrTango, Mar 30th at 6:31 PM

+1 soup missing perish status from crock & bowl :(

💬 TheInsanityGod , Mar 27th at 4:22 PM

xCoiotex, I've recently been informed of a similar issue where the meals in bowls shows incorrect spoil time (visual issue only) so good chance that this is related to this mod.

(for as far as I've had time to look into it, it seems vanilla code is having issues with having other transitions on food items, which to be fair don't exist in vanilla)

💬 xCoiotex, Mar 26th at 8:15 PM

dunno if it's this mod, but i can't see the "days left" on some crook with onions and redmeat soup, could be a compability issue with butchering, but unsure

💬 Drehverschluss, Mar 21st at 5:02 AM

Sounds promising! Cant wait to have a warm home :)

💬 TheInsanityGod , Mar 20th at 4:40 PM

Actually I plan to rework the entire room temperature mechanism altogether using ExpandedRoomsLib (a companion mod/library that I really should get arround to working on finishing)

Will most likely take a while though (Been bussy working on WearAndTear and other stuff)

Drehverschluss

💬 Drehverschluss, Mar 20th at 11:26 AM

Hello. Just want to ask a Question. Do you maby plan to make snow/ice-blocks cool the cellar down? Or just "a way" to cool the room where all the raw food is stored?

💬 Endurance, Mar 11th at 11:15 PM

TheInsanityGod That sounds like it could have been it since it happened a few seconds after me teleporting. Thank you so much for looking into it and getting a fix out so quickly! Really looking forward to experiencing this mod in winter :D

💬 TheInsanityGod , Mar 11th at 3:18 PM

Endurance, I was unable to reproduce the issue but I found (and solved) a potential edge case. (related to handling of invalid positions)

(Don't think I can find much more without access to the actual world)

💬 Endurance, Mar 9th at 8:31 PM

TheInsanityGod Sure thing! Thanks for looking at this!

1.20.4


Conquest Landform Overhaul v1.0.1.zip
hydrateordiedrate_1.9.8.zip
ImmersiveOreCrush_2.2.1.zip
apeflowerpots-1.20.4-v1.2.1.zip
Firestarters_1.4.3.zip
traitacquirer_0.9.6.zip
FromGoldenCombs-1.20-v1.8.11-rc.7.zip
configlib_1.5.1.zip
ManualToolCrafting_1.3.5.zip
animalcages_v3.2.1.zip
CustomTransitionLib_1.0.0.zip
traitacquireraddon_1.0.0.zip
BetterFirepit-1.1.5.zip
pottery-wheel_v1.1.2.zip
CommonLib_VS1.20.0-rc.1_net7_v2.6.1.zip
CoreOfArts_0.2.3.zip
immersivewoodsawing_0.2.7.zip
MorePiles-v2.1.2.zip
BetterBloomery-1.0.5.zip
Conquest Blocklayer Overhaul v1.0.2.zip
ndlvillagers_1.3.1.zip
ForestSymphony_1.0.2.zip
chimneyflues-1.1.1.zip
lavoisier_1.3.1.zip
chiseltools1.14.12.zip
HelveHammerExtensions_VS1.20.0_net7_v1.7.0.zip
ChestOrganizer-1.2.3.zip
DanaTweaks-v3.4.0.zip
RareDenseOres_0_2_7.zip
Aged1.0.8.zip
ArtOfGrowing_0.5.3.zip
AngelBelt-1.20-1.6.0.zip
usefultraders-v2.2.0.zip
vsimgui_1.1.7.zip
flist.tx
kevinsfurniture_1.6.4.zip
oneroof_1.8.2.zip
Re-Smeltables Light_ v1.1.0.zip
clipfix-1.0.9.zip
gimmeoneseedplz_1.0.7.zip
rivers_4.1.0.zip

 

The only errors I could see were along the lines of this:
[Error] Grid Recipe with output Item code game:metalplate-copper contains an ingredient that cannot be resolved: Item code game:chisel-gold

💬 TheInsanityGod , Mar 9th at 1:45 PM

Endurance, thanks for reporting this issue, could you provide me with a bit more information:

  • Game version
  • Mod List
  • Any other exceptions inside of the server-main.log
💬 Endurance, Mar 9th at 11:15 AM

This mod caused my game to freeze up, making it impossible to join my world until I disabled it. The server main log was getting spammed with:

Exception: Object reference not set to an instance of an object.
at BrainFreeze.Code.Transition.BrainFreezeTransitionHandler.GetTemperatureAtPos(IWorldAccessor world, ItemSlot inSlot, BlockPos pos) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Transition\BrainFreezeTransitionHandler.cs:line 35
at BrainFreeze.Code.Transition.BrainFreezeTransitionHandler.GetTransitionRateMul(IWorldAccessor world, ItemSlot inSlot, EBrainFreezeTransitionType transType, Single currentResult) in D:\Modding\VintageStory\BrainFreeze\BrainFreeze\Code\Transition\BrainFreezeTransitionHandler.cs:line 42
at CustomTransitionLib.HarmonyPatches.AppendGetTransitionSpeedMultiplier.Postfix(IWorldAccessor world, ItemSlot inSlot, EnumTransitionType transType, Single& __result) in D:\Modding\VintageStory\CustomTransitionLib\HarmonyPatches\AppendGetTransitionSpeedMultiplier.cs:line 16
at Vintagestory.API.Common.CollectibleObject.GetTransitionRateMul_Patch1(CollectibleObject this, IWorldAccessor world, ItemSlot inSlot, EnumTransitionType transType)
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStatesNative_Patch0(CollectibleObject this, IWorldAccessor world, ItemSlot inslot)
at Vintagestory.GameContent.BlockContainer.UpdateAndGetTransitionStates(IWorldAccessor world, ItemSlot inslot) in VSSurvivalMod\Block\BlockContainer.cs:line 205
at Vintagestory.Server.ServerSystemInventory.UpdateTransitionStates(Single dt) in VintagestoryLib\Server\Systems\Inventory.cs:line 148
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 31
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 170
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 896

💬 TheInsanityGod , Feb 26th at 7:56 PM

Kirona, for as far as I'm aware the game does not download dependencies automatically in the first place, atleast it's never done so for any mod I've used.

(Keep in mind that connecting to a server is different case, as it will just try to download all mods present on server)

💬 Kirona, Feb 26th at 2:23 AM

I think the dependency is inaccurately linked/referenced in the mod - my client was unable to locate it for download so I had to install it manually. Not a huge issue but I figured I'd let ya know.

💬 TheInsanityGod , Jan 29th at 5:14 PM

Is there an "especially when wet" feature? No, this would be the "Changing how wettness affects players when cold" listed under the planned features

Did you mean "Water Weather Simulation"? if so yes it is (currently) compatible (I haven't touched how water blocks freeze yet). The similar-ish feature you are talking about would be the "redoing how water freezes"  listed under Planned Features

Thalius

💬 Thalius, Jan 29th at 12:52 PM

Also, is this compatible with Winter Weather Simulation, which makes lake water and such behave better when it comes to freezing? Or will you impliment similar features? It'd be nice if lakes and oceans freezed and thawed when they should, with a chance of breaking when walked on in temps that are not deep cold.

💬 Thalius, Jan 29th at 12:43 PM

Is there an "especially when wet" feature to the harsher freezing penalties?

I've lived in the far north. Cold is really not that hard to deal with as long as you are dry and dressed well. If you get wet though and can't get dry or indoors, you're done for. Heck, I used to haul cedar logs out of the forest in upper Michigan dressed in long johns and jeans in a t-shirt in 10 degree weather and snow, and felt fine all day as long as I kept my hands and feet dry, and the wind was not blowing.

I've not minded the rate at which cold creeps in on you in the game. I laugh at jumping in a lake or ocean and then running around in the arctic though, seemingly without serious issues. Being wet and cold should be a rapicly debilitating danger.

💬 Thalius, Jan 20th at 7:47 PM

Intrigued by the concept of this project. Looking forward to seeing what comes of it.

Dealing with the cold should be more... dynamic, if I can use that word. There really is very little in the game currently that maks the cold interesting at all. It's pretty, and eventually you might freeze to death if you stay out long enough. I currently have to pay very little attention to cold, even when wet.

Liquids freezing like they should, lake ice forming and behaving more naturally, and especially stronger adverse effects of being wet in cold temps are all good things to bring to the game.

💬 TheInsanityGod , Jan 20th at 5:41 PM

When someone changing a single namespace causes your entire code to blow up lol

Problem fixed now, just remember that this means you have to update HydrateOrDieDrate to the latest version as well otherwise... well you will have the same issue but in reverse :P

💬 ElegantChimp, Jan 20th at 4:02 AM

+1 to the issue @bringitonwimps brought up

💬 bringitonwimps, Jan 20th at 3:25 AM

newest update of hidrate and diedrate now lost compatibility... 

https://pastebin.com/JwXe97ki

💬 tuesdaey, Jan 19th at 6:15 PM

i like the concept of this mod, there should be more inque features of the north that make it a draw for travel or settling. the south has exotic trees and crops, papyrus, and animals like hyena. The north has...aurora borealis. And now ice!!

💬 TheInsanityGod , Jan 14th at 10:21 AM

Thanks for the bug report bringitonwimps. This exception actually stems from XSkills rathen then my mod: They have injected some code to run after an object is eaten and are attempting to get the nutritional properties from this location, however at this point the itemstack no longer exists (since you ate the last item on the stack). For normal (simple) food this isn't an issue since the nutrient properties are static and the method doesn't use the itemstack, my ice cubes however work more similar to a meal where the ingredients decides the nutrient properties.

I've done what I can on my side (you should no longer get an exception) and made a bug report on xSkills github https://github.com/Xandu93/VSMods/issues/2 (because this does mean their cooking quality bonus will fail to apply on the last item of a stack, if the item uses the ItemStack for nutrient calculations)

💬 bringitonwimps, Jan 14th at 4:15 AM

this is happening when i eat ice

https://pastebin.com/2b07sYPb

After some more testing it seams to happen when i eat the LAST ice cube in a stack and upoin returning to the server i get about a 20 xec freeze/lag spike.  FYI server is in my home.

💬 TheInsanityGod , Jan 7th at 8:04 PM

silently appends to planned feature list

💬 Toudi, Jan 7th at 7:46 PM

can you add that getting wet in negative temperatures while not in room or cellar is making player loose temperature faster? now it feels like getting into water in winter has no penalty

💬 TheInsanityGod , Jan 7th at 3:26 PM

Hmm this is certainly a strange issue indeed 🤔

💬 SalmonGod, Jan 7th at 3:15 PM

Alright I'll try turning your mod on again next time I play and see how it goes.  Still seems odd to me though since I restarted several times over the course of that session.  I changed the Optimize RAM setting to Aggressive at the same time as I disabled Brain Freeze, but then I reverted that option back to Somewhat shortly after and the issue never returned.

💬 SalmonGod, Jan 7th at 3:10 PM
💬 TheInsanityGod , Jan 7th at 2:56 PM

SalmonGod, thanks for the extra info.
Watched the vintage story part of the stream and I'm not so sure disabling this mod is what fixed the issue:
The liquid you pick up with a bucket (or other liquid container) is actually an entirely different item then the block placed in the world (vintage story has weird liquid code), my mod currently only affects the liquid item (which I haven't seen you obtain) so my code hasn't even been doing anything 😅 (or atleast it shouldn't have been doing anything)

I noticed you also switched you vram Optimize RAM setting at the same time... which according to the official wiki https://wiki.vintagestory.at/Settings can cause mild lag spikes. ('mild' is a bit vague if you ask me but oh wel)

I believe what truly fixed your issue was the graphic settings you changed such as Optimize Ram setting and restarting the game (to cleanup any garbage that might not have been cleaned propperly during world reloading)

💬 SalmonGod, Jan 7th at 7:21 AM

I was streaming, so you can see the whole thing if you'd like.

https://www.twitch.tv/videos/2345571410

About 2:45 is where I switch over to Vintage Story.  The performance issues are there from the beginning but they get progressively worse, until I think around 4:45 is where it gets to the point of overwhelming.  Frequest 30 second freezes at the end of which in-game time skips several hours.  5:14 is where I turn off Brain Freeze, and I do a full scroll of the mod manager, so you can see all the other mods I was running.

💬 TheInsanityGod , Jan 6th at 4:33 PM

Hmm that's certainly strange, I didn't run into any performance issues when testing myself. This is probably some weird interaction between my mod and a different mod, could you provide me with a bit more information SalmonGod? (modnames with version, and the last thing you did before this performance issue happend)

💬 SalmonGod, Jan 6th at 2:43 PM

Started a new game yesterday with several new mods.  Had serious performance issues, with the game taking up 60 GB of RAM and heating up my GPUs.  I wasn't purely scientific about it.  But I'm like 90% sure removing Brain Freeze is what resolved my issues.  It was the only mod I removed on that reboot, along with some minor graphics settings tweaks.  RAM usage dropped by half and GPUs fell to more what I'm used to seeing.  Heads up that there might currently be performance issues with the mod.  Hoping it gets better though, because this looks neat.

💬 Sell, Jan 6th at 11:55 AM

Clever idea, makes winter food and drink storage more interesting. Anything that expands on the winter challenges is an easy win in my book. Excited to see where this mod goes, hope you get to explore it more.
Cheers,

💬 Thranos, Jan 5th at 10:52 AM

It is, but not officially, and certainly not on the DB.

💬 TheInsanityGod , Jan 4th at 10:01 PM

Now if only AculinaryArtillery was updated to 1.20...

💬 AzuliBluespots, Jan 4th at 9:46 PM

DID SOMEONE SAY ICECREAM????

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом