Back to mods
ThreadWard project artwork

CurseForge · Minecraft mod

ThreadWard

A small, surgical fix for a real parallel mod-loading crash

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

Quick answer

Which ThreadWard release should I use?

Updated 16 days ago
Latest stable file threadward-1.0.1.jar
Game version 1.21.1
Loader NeoForge

threadward-1.0.1.jar targets 1.21.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 ThreadWard 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 threadward-1.0.1.jar need?

threadward-1.0.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 ThreadWard without breaking your instance.

Built for threadward-1.0.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use threadward-1.0.1.jar. It targets 1.21.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 threadward-1.0.1.jar. It opens that exact file at the source.

About this project

What does ThreadWard add?

ThreadWard

A small, surgical fix for a real parallel mod-loading crash.

What it does

ThreadWard wraps the backing maps of EntityRenderers and ItemProperties in thread-safe implementations via Mixin. This resolves a race condition that occurs when mods register renderers or item property overrides in parallel during FMLClientSetupEvent — which, in large modpacks (1000+ mods), can throw an intermittent ArrayIndexOutOfBoundsException and crash the game on startup.

If you've ever had your modpack crash on a different mod every time you launch it, with an ArrayIndexOutOfBoundsException somewhere inside EntityRenderers or ItemProperties, this is almost certainly the fix you need.

Why this exists

NeoForge dispatches FMLClientSetupEvent to mods in parallel across multiple threads for faster startup. Most of the time this is safe — but a handful of internal Minecraft/NeoForge collections were never designed to be written to concurrently. With enough mods registering renderers/item properties at the same time, you eventually lose the race and crash. The usual workaround is forcing ForkJoinPool.common.parallelism=1, which works but throws away the performance benefit of parallel loading entirely.

ThreadWard fixes the actual unsafe collections instead, so parallel mod loading stays fast and safe.

Compatibility

  • Minecraft: 1.21.1
  • Mod Loader: NeoForge (built and tested against 21.1.236)
  • Dependencies: None
  • Side: Client
  • Should be compatible with essentially any modpack — this mod does not add content, change gameplay, or touch anything outside the two specific collections it patches.

Installation

Drop the jar in your mods folder. That's it — no configuration, nothing to set up. It works silently in the background.

FAQ

Will this conflict with anything? Very unlikely. ThreadWard only replaces the internal storage of two specific vanilla/NeoForge registries with thread-safe equivalents — it doesn't remove, override, or change any mod's actual content or behavior.

Do I need this if my pack isn't crashing? No harm in having it installed either way, but if you're not seeing intermittent ArrayIndexOutOfBoundsException crashes tied to EntityRenderers or ItemProperties, you probably don't need it.

Can I use this in my modpack? Yes — licensed under MIT, use it freely in any modpack, public or private.

Credits

Built to fix a real crash encountered in a 1300+ mod kitchen-sink modpack. Sometimes the best fixes are the small, targeted ones.

Project description from CurseForge.

Pick your setup

ThreadWard by Minecraft version and loader

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

1 available setups

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

Recent files

ThreadWard versions and loaders

1 of 1 releases match

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