TaCZ:Npcs Unofficial bug fix
The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.
TaCZ NPC Fix
An unofficial patch for TaCZ:NPC that fixes NullPointerException crashes.
What does this mod do?
TaCZ:NPC adds gun-wielding NPCs to your world — but the mod has been discontinued and contains a critical bug: when an NPC locks onto a target and that target dies, the game crashes with a NullPointerException.
This mod applies a Mixin patch to fix that crash without modifying TaCZ:NPC itself.
Fixes applied:
TaczShootAttack#tick()— cancels the tick if the lock-on target is null, dead, or removedTaczShootAttack#stop()— clears the target reference when the behavior stops, preventing stale references from persisting
Requirements
- Minecraft 1.20.1
- Forge 47.x
- [TaCZ:NPC](this mod does nothing without it)
- [TACZ (Timeless and Classics Zero)]
Installation
- Download and install Forge 1.20.1
- Drop
tacznpcfix-1.20.1.jarinto yourmodsfolder alongsidetacz_npc.jar - Launch the game
Notes
TaCZ:NPC is officially discontinued. The original author recommends checking out [Pillager's Guns (TACZ support) and Insurgents as alternatives. This patch is for those who still want to use TaCZ:NPC despite its discontinued status.
This mod is Issues and PRs are welcome.
Disclaimer
This is an unofficial patch and is not affiliated with the original TaCZ:NPC author.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as tacznpcfix-1.20.1-1.0.0.jar — drop this file into the mods folder
- Download size: 5 KB
- Download link checked 13 Sept 2026 — working
These come from our own check of the pack file, not from the source page.