Back to mods
Weather, Storms & Tornadoes - Concurrent Packet Fix project artwork

CurseForge · Minecraft mod

Weather, Storms & Tornadoes - Concurrent Packet Fix

Eliminates ConcurrentModificationException disconnects by implementing thread-safe NBT serialization—a global patch that fixes Weather2 and any other mod with similar multi-threading bugs

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Weather, Storms & Tornadoes - Concurrent Packet Fix release should I use?

Updated 3 months ago
Latest stable file weather2patch-1.1.1-neoforge-1.20.1.jar
Game version 1.20.1
Loader NeoForge

Weather, Storms & Tornadoes - Concurrent Packet Fix weather2patch-1.1.1-neoforge-1.20.1.jar targets 1.20.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Weather, Storms & Tornadoes - Concurrent Packet Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Weather, Storms & Tornadoes - Concurrent Packet Fix weather2patch-1.1.1-neoforge-1.20.1.jar need?

weather2patch-1.1.1-neoforge-1.20.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Weather, Storms & Tornadoes - Concurrent Packet Fix without breaking your instance.

Built for Weather, Storms & Tornadoes - Concurrent Packet Fix weather2patch-1.1.1-neoforge-1.20.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use weather2patch-1.1.1-neoforge-1.20.1.jar. It targets 1.20.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside weather2patch-1.1.1-neoforge-1.20.1.jar. It opens that exact file at the source.

About this project

What does Weather, Storms & Tornadoes - Concurrent Packet Fix add?

CompoundTag Concurrent Modification Fix

A lightweight Mixin patch that eliminates client disconnections caused by java.util.ConcurrentModificationException during NBT data serialisation. While developed to resolve a long-standing issue in the original Weather, Storms & Tornadoes (Weather2) mod, this mod applies a global, engine-level fix to protect your entire modpack.

🔍 The Problem

bug-report

Minecraft frequently disconnects clients when a mod attempts to encode a CompoundTag (NBT) from an asynchronous network thread (such as Netty I/O) while the main game thread is simultaneously modifying that same tag. Because Java’s standard HashMap is inherently non-thread-safe, this concurrent access triggers an immediate ConcurrentModificationException. Minecraft handles this error by instantly dropping the client connection, disrupting gameplay.

🛠️ The Solution

Instead of chasing individual mod updates, this patch injects directly into vanilla Minecraft's net.minecraft.nbt.CompoundTag.write() method. It intercepts the serialisation process and implements an optimised "safe snapshot" mechanism:

  • Lock-Free Retries: Dynamically captures the internal map state without introducing thread deadlocks.
  • Fail-Safe Cap: Enforces a strict 100-retry limit. If exceeded, it safely writes an empty tag to maintain connection stability.
  • Rapid Execution: In real-world environments, the safe snapshot successfully resolves within 1–3 attempts.

✨ Key Features

  • Universal Protection: Automatically shields any mod that improperly handles NBT data across multiple threads.
  • Zero Configuration: A true plug-and-play solution. No config files or tweaks needed.
  • Non-Invasive Architecture: Leaves individual mod source codes untouched, drastically reducing conflict risks.
  • Stress-Tested Performance: Verified at accelerated rates of 1000 TPS with negligible processing overhead.
  • Future-Proof Design: Acts as a passive fail-safe. If a mod resolves its threading bugs upstream, this patch gracefully becomes a "no-op" (no operation) to maintain vanilla behaviour.

⚙️ Supported Versions & Loaders

This mod is built to be highly versatile across modern modding ecosystems:

  • Mod Loaders: Minecraft Forge and NeoForge
  • Game Versions: Minecraft 1.20.x, 1.21.x, and any adjacent versions suffering from NBT-driven network drops (just ignore the compatibility warnings).

💬 Frequently Asked Questions

Q: Does this only work for Weather2?
A: No. Weather2 was the catalyst for development, but the fix operates at the vanilla engine level. Any mod executing asynchronous NBT modifications will benefit.

Q: Will this impact server or client performance?
A: No. The execution overhead is completely negligible. Testing under extreme tick-simulated environments showed zero degradation in frame rates or tick times.

Q: Do I need to configure anything?
A: No. The patch activates automatically upon initialisation. You can confirm it is running by checking your console for: [weather2patch] CompoundTag thread-safety patch is active.

Q: What happens if an upstream mod updates and fixes the bug?
A: Nothing breaks. Because this mod targets the vanilla layer, it will simply notice the thread state is already clean, bypass retries entirely, and let the vanilla code take over.

[Description Updated with the help of Gemini 3.1 Flash]

Project description from CurseForge.

Pick your setup

Weather, Storms & Tornadoes - Concurrent Packet Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

6 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Weather, Storms & Tornadoes - Concurrent Packet Fix versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.